Interface ListBillingViewsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BillingRequest.Builder,Buildable,CopyableBuilder<ListBillingViewsRequest.Builder,ListBillingViewsRequest>,SdkBuilder<ListBillingViewsRequest.Builder,ListBillingViewsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBillingViewsRequest
public static interface ListBillingViewsRequest.Builder extends BillingRequest.Builder, SdkPojo, CopyableBuilder<ListBillingViewsRequest.Builder,ListBillingViewsRequest>
-
-
Method Summary
-
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 Detail
-
activeTimeRange
ListBillingViewsRequest.Builder activeTimeRange(ActiveTimeRange activeTimeRange)
The time range for the billing views listed.
PRIMARYbilling view is always listed.BILLING_GROUPbilling views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.- Parameters:
activeTimeRange- The time range for the billing views listed.PRIMARYbilling view is always listed.BILLING_GROUPbilling views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeTimeRange
default ListBillingViewsRequest.Builder activeTimeRange(Consumer<ActiveTimeRange.Builder> activeTimeRange)
The time range for the billing views listed.
This is a convenience method that creates an instance of thePRIMARYbilling view is always listed.BILLING_GROUPbilling views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.ActiveTimeRange.Builderavoiding the need to create one manually viaActiveTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactiveTimeRange(ActiveTimeRange).- Parameters:
activeTimeRange- a consumer that will call methods onActiveTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
activeTimeRange(ActiveTimeRange)
-
arns
ListBillingViewsRequest.Builder arns(Collection<String> arns)
The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
- Parameters:
arns- The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arns
ListBillingViewsRequest.Builder arns(String... arns)
The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
- Parameters:
arns- The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViewTypesWithStrings
ListBillingViewsRequest.Builder billingViewTypesWithStrings(Collection<String> billingViewTypes)
The type of billing view.
- Parameters:
billingViewTypes- The type of billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViewTypesWithStrings
ListBillingViewsRequest.Builder billingViewTypesWithStrings(String... billingViewTypes)
The type of billing view.
- Parameters:
billingViewTypes- The type of billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViewTypes
ListBillingViewsRequest.Builder billingViewTypes(Collection<BillingViewType> billingViewTypes)
The type of billing view.
- Parameters:
billingViewTypes- The type of billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingViewTypes
ListBillingViewsRequest.Builder billingViewTypes(BillingViewType... billingViewTypes)
The type of billing view.
- Parameters:
billingViewTypes- The type of billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
ListBillingViewsRequest.Builder ownerAccountId(String ownerAccountId)
The list of owners of the billing view.
- Parameters:
ownerAccountId- The list of owners of the billing view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListBillingViewsRequest.Builder maxResults(Integer maxResults)
The maximum number of billing views to retrieve. Default is 100.
- Parameters:
maxResults- The maximum number of billing views to retrieve. Default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListBillingViewsRequest.Builder nextToken(String nextToken)
The pagination token that is used on subsequent calls to list billing views.
- Parameters:
nextToken- The pagination token that is used on subsequent calls to list billing views.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBillingViewsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBillingViewsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-