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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListBillingViewsRequest.BuilderactiveTimeRange(Consumer<ActiveTimeRange.Builder> activeTimeRange)The time range for the billing views listed.ListBillingViewsRequest.BuilderactiveTimeRange(ActiveTimeRange activeTimeRange)The time range for the billing views listed.ListBillingViewsRequest.BuildermaxResults(Integer maxResults)The maximum number of billing views to retrieve.ListBillingViewsRequest.BuildernextToken(String nextToken)The pagination token that is used on subsequent calls to list billing views.ListBillingViewsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBillingViewsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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)
-
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
-
-