Class: AwsBillingReport
- Inherits:
-
Object
- Object
- AwsBillingReport
- Includes:
- AwsSingularResourceMixin
- Defined in:
- lib/resources/aws/aws_billing_report.rb
Defined Under Namespace
Classes: Backend
Instance Attribute Summary collapse
-
#compression ⇒ Object
readonly
Returns the value of attribute compression.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#report_name ⇒ Object
readonly
Returns the value of attribute report_name.
-
#s3_bucket ⇒ Object
readonly
Returns the value of attribute s3_bucket.
-
#s3_prefix ⇒ Object
readonly
Returns the value of attribute s3_prefix.
-
#s3_region ⇒ Object
readonly
Returns the value of attribute s3_region.
-
#time_unit ⇒ Object
readonly
Returns the value of attribute time_unit.
Instance Method Summary collapse
Methods included from AwsSingularResourceMixin
Methods included from AwsResourceMixin
#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner
Instance Attribute Details
#compression ⇒ Object (readonly)
Returns the value of attribute compression.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def compression @compression end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def format @format end |
#report_name ⇒ Object (readonly)
Returns the value of attribute report_name.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def report_name @report_name end |
#s3_bucket ⇒ Object (readonly)
Returns the value of attribute s3_bucket.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def s3_bucket @s3_bucket end |
#s3_prefix ⇒ Object (readonly)
Returns the value of attribute s3_prefix.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def s3_prefix @s3_prefix end |
#s3_region ⇒ Object (readonly)
Returns the value of attribute s3_region.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def s3_region @s3_region end |
#time_unit ⇒ Object (readonly)
Returns the value of attribute time_unit.
25 26 27 |
# File 'lib/resources/aws/aws_billing_report.rb', line 25 def time_unit @time_unit end |
Instance Method Details
#daily? ⇒ Boolean
36 37 38 |
# File 'lib/resources/aws/aws_billing_report.rb', line 36 def daily? exists? ? time_unit.eql?("daily") : nil end |
#gzip? ⇒ Boolean
44 45 46 |
# File 'lib/resources/aws/aws_billing_report.rb', line 44 def gzip? exists? ? compression.eql?("gzip") : nil end |
#hourly? ⇒ Boolean
32 33 34 |
# File 'lib/resources/aws/aws_billing_report.rb', line 32 def hourly? exists? ? time_unit.eql?("hourly") : nil end |
#to_s ⇒ Object
28 29 30 |
# File 'lib/resources/aws/aws_billing_report.rb', line 28 def to_s "AWS Billing Report #{report_name}" end |
#zip? ⇒ Boolean
40 41 42 |
# File 'lib/resources/aws/aws_billing_report.rb', line 40 def zip? exists? ? compression.eql?("zip") : nil end |