Interface CreateBillingViewRequest.Builder

  • Method Details

    • name

      The name of the billing view.

      Parameters:
      name - The name of the billing view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateBillingViewRequest.Builder description(String description)

      The description of the billing view.

      Parameters:
      description - The description of the billing view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceViews

      A list of billing views used as the data source for the custom billing view.

      Parameters:
      sourceViews - A list of billing views used as the data source for the custom billing view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceViews

      CreateBillingViewRequest.Builder sourceViews(String... sourceViews)

      A list of billing views used as the data source for the custom billing view.

      Parameters:
      sourceViews - A list of billing views used as the data source for the custom billing view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataFilterExpression

      CreateBillingViewRequest.Builder dataFilterExpression(Expression dataFilterExpression)

      See Expression. Billing view only supports LINKED_ACCOUNT, Tags, and CostCategories.

      Parameters:
      dataFilterExpression - See Expression. Billing view only supports LINKED_ACCOUNT, Tags, and CostCategories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataFilterExpression

      default CreateBillingViewRequest.Builder dataFilterExpression(Consumer<Expression.Builder> dataFilterExpression)

      See Expression. Billing view only supports LINKED_ACCOUNT, Tags, and CostCategories.

      This is a convenience method that creates an instance of the Expression.Builder avoiding the need to create one manually via Expression.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataFilterExpression(Expression).

      Parameters:
      dataFilterExpression - a consumer that will call methods on Expression.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateBillingViewRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. If the original request completes successfully, any subsequent retries complete successfully without performing any further actions with an idempotent request.

      Parameters:
      clientToken - A unique, case-sensitive identifier you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. If the original request completes successfully, any subsequent retries complete successfully without performing any further actions with an idempotent request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTags

      A list of key value map specifying tags associated to the billing view being created.

      Parameters:
      resourceTags - A list of key value map specifying tags associated to the billing view being created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTags

      CreateBillingViewRequest.Builder resourceTags(ResourceTag... resourceTags)

      A list of key value map specifying tags associated to the billing view being created.

      Parameters:
      resourceTags - A list of key value map specifying tags associated to the billing view being created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTags

      A list of key value map specifying tags associated to the billing view being created.

      This is a convenience method that creates an instance of the ResourceTag.Builder avoiding the need to create one manually via ResourceTag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceTags(List<ResourceTag>).

      Parameters:
      resourceTags - a consumer that will call methods on ResourceTag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateBillingViewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.