Interface CreateBillingViewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BillingRequest.Builder
,Buildable
,CopyableBuilder<CreateBillingViewRequest.Builder,
,CreateBillingViewRequest> SdkBuilder<CreateBillingViewRequest.Builder,
,CreateBillingViewRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBillingViewRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier you specify to ensure idempotency of the request.default CreateBillingViewRequest.Builder
dataFilterExpression
(Consumer<Expression.Builder> dataFilterExpression) See Expression .dataFilterExpression
(Expression dataFilterExpression) See Expression .description
(String description) The description of the billing view.The name of the billing view.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTags
(Collection<ResourceTag> resourceTags) A list of key value map specifying tags associated to the billing view being created.resourceTags
(Consumer<ResourceTag.Builder>... resourceTags) A list of key value map specifying tags associated to the billing view being created.resourceTags
(ResourceTag... resourceTags) A list of key value map specifying tags associated to the billing view being created.sourceViews
(String... sourceViews) A list of billing views used as the data source for the custom billing view.sourceViews
(Collection<String> sourceViews) A list of billing views used as the data source for the custom billing view.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
See Expression . Billing view only supports
LINKED_ACCOUNT
andTags
.- Parameters:
dataFilterExpression
- See Expression. Billing view only supportsLINKED_ACCOUNT
andTags
.- 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
This is a convenience method that creates an instance of theLINKED_ACCOUNT
andTags
.Expression.Builder
avoiding the need to create one manually viaExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataFilterExpression(Expression)
.- Parameters:
dataFilterExpression
- a consumer that will call methods onExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theResourceTag.Builder
avoiding the need to create one manually viaResourceTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceTags(List<ResourceTag>)
.- Parameters:
resourceTags
- a consumer that will call methods onResourceTag.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateBillingViewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-