Class: AWSCDK::BillingConductor::CfnCustomLineItem::BillingPeriodRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BillingConductor::CfnCustomLineItem::BillingPeriodRangeProperty
- Defined in:
- billing_conductor/cfn_custom_line_item.rb
Overview
The billing period range in which the custom line item request will be applied.
Instance Attribute Summary collapse
-
#exclusive_end_billing_period ⇒ String?
readonly
The exclusive end billing period that defines a billing period range where a custom line is applied.
-
#inclusive_start_billing_period ⇒ String?
readonly
The inclusive start billing period that defines a billing period range where a custom line is applied.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(exclusive_end_billing_period: nil, inclusive_start_billing_period: nil) ⇒ BillingPeriodRangeProperty
constructor
A new instance of BillingPeriodRangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(exclusive_end_billing_period: nil, inclusive_start_billing_period: nil) ⇒ BillingPeriodRangeProperty
Returns a new instance of BillingPeriodRangeProperty.
669 670 671 672 673 674 |
# File 'billing_conductor/cfn_custom_line_item.rb', line 669 def initialize(exclusive_end_billing_period: nil, inclusive_start_billing_period: nil) @exclusive_end_billing_period = exclusive_end_billing_period Jsii::Type.check_type(@exclusive_end_billing_period, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "exclusiveEndBillingPeriod") unless @exclusive_end_billing_period.nil? @inclusive_start_billing_period = inclusive_start_billing_period Jsii::Type.check_type(@inclusive_start_billing_period, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inclusiveStartBillingPeriod") unless @inclusive_start_billing_period.nil? end |
Instance Attribute Details
#exclusive_end_billing_period ⇒ String? (readonly)
The exclusive end billing period that defines a billing period range where a custom line is applied.
680 681 682 |
# File 'billing_conductor/cfn_custom_line_item.rb', line 680 def exclusive_end_billing_period @exclusive_end_billing_period end |
#inclusive_start_billing_period ⇒ String? (readonly)
The inclusive start billing period that defines a billing period range where a custom line is applied.
685 686 687 |
# File 'billing_conductor/cfn_custom_line_item.rb', line 685 def inclusive_start_billing_period @inclusive_start_billing_period end |
Class Method Details
.jsii_properties ⇒ Object
687 688 689 690 691 692 |
# File 'billing_conductor/cfn_custom_line_item.rb', line 687 def self.jsii_properties { :exclusive_end_billing_period => "exclusiveEndBillingPeriod", :inclusive_start_billing_period => "inclusiveStartBillingPeriod", } end |
Instance Method Details
#to_jsii ⇒ Object
694 695 696 697 698 699 700 701 |
# File 'billing_conductor/cfn_custom_line_item.rb', line 694 def to_jsii result = {} result.merge!({ "exclusiveEndBillingPeriod" => @exclusive_end_billing_period, "inclusiveStartBillingPeriod" => @inclusive_start_billing_period, }) result.compact end |