All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloudshift.awscdk.dsl.services.billingconductor.CfnCustomLineItemBillingPeriodRangePropertyDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.billingconductor

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.billingconductor.CfnCustomLineItem

/**
 * The billing period range in which the custom line item request will be applied.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.billingconductor.*;
 * BillingPeriodRangeProperty billingPeriodRangeProperty = BillingPeriodRangeProperty.builder()
 * .exclusiveEndBillingPeriod("exclusiveEndBillingPeriod")
 * .inclusiveStartBillingPeriod("inclusiveStartBillingPeriod")
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-billingperiodrange.html)
 */
@CdkDslMarker
public class CfnCustomLineItemBillingPeriodRangePropertyDsl {
  private val cdkBuilder: CfnCustomLineItem.BillingPeriodRangeProperty.Builder =
      CfnCustomLineItem.BillingPeriodRangeProperty.builder()

  /**
   * @param exclusiveEndBillingPeriod The exclusive end billing period that defines a billing period
   * range where a custom line is applied.
   */
  public fun exclusiveEndBillingPeriod(exclusiveEndBillingPeriod: String) {
    cdkBuilder.exclusiveEndBillingPeriod(exclusiveEndBillingPeriod)
  }

  /**
   * @param inclusiveStartBillingPeriod The inclusive start billing period that defines a billing
   * period range where a custom line is applied.
   */
  public fun inclusiveStartBillingPeriod(inclusiveStartBillingPeriod: String) {
    cdkBuilder.inclusiveStartBillingPeriod(inclusiveStartBillingPeriod)
  }

  public fun build(): CfnCustomLineItem.BillingPeriodRangeProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy