Interface ListBillingViewSegmentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingRequest.Builder,Buildable,CopyableBuilder<ListBillingViewSegmentsRequest.Builder,,ListBillingViewSegmentsRequest> SdkBuilder<ListBillingViewSegmentsRequest.Builder,,ListBillingViewSegmentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListBillingViewSegmentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that uniquely identifies the billing view to query.maxResults(Integer maxResults) The number of entries a paginated response contains.The pagination token that is used on subsequent calls to list billing view segments.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.timeRange(Consumer<BillingViewSegmentTimeRange.Builder> timeRange) The billing period to query.timeRange(BillingViewSegmentTimeRange timeRange) The billing period to query.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billing.model.BillingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timeRange
The billing period to query. If you don't provide a time range, the current billing period, which is the calendar month in UTC, is used.
- Parameters:
timeRange- The billing period to query. If you don't provide a time range, the current billing period, which is the calendar month in UTC, is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
default ListBillingViewSegmentsRequest.Builder timeRange(Consumer<BillingViewSegmentTimeRange.Builder> timeRange) The billing period to query. If you don't provide a time range, the current billing period, which is the calendar month in UTC, is used.
This is a convenience method that creates an instance of theBillingViewSegmentTimeRange.Builderavoiding the need to create one manually viaBillingViewSegmentTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeRange(BillingViewSegmentTimeRange).- Parameters:
timeRange- a consumer that will call methods onBillingViewSegmentTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
The Amazon Resource Name (ARN) that uniquely identifies the billing view to query. If you don't provide an ARN, the caller's
PRIMARYbilling view is used. The ARN must reference a primary billing view. Custom billing views aren't supported.- Parameters:
arn- The Amazon Resource Name (ARN) that uniquely identifies the billing view to query. If you don't provide an ARN, the caller'sPRIMARYbilling view is used. The ARN must reference a primary billing view. Custom billing views aren't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The number of entries a paginated response contains. Valid values range from 1 to 100. The default is 100.
- Parameters:
maxResults- The number of entries a paginated response contains. Valid values range from 1 to 100. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token that is used on subsequent calls to list billing view segments.
- Parameters:
nextToken- The pagination token that is used on subsequent calls to list billing view segments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBillingViewSegmentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBillingViewSegmentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-