Interface ListBillingViewSegmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<ListBillingViewSegmentsResponse.Builder,,ListBillingViewSegmentsResponse> SdkBuilder<ListBillingViewSegmentsResponse.Builder,,ListBillingViewSegmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBillingViewSegmentsResponse
-
Method Summary
Modifier and TypeMethodDescriptionA list of billing view segments.items(Consumer<BillingViewSegmentsListElement.Builder>... items) A list of billing view segments.items(BillingViewSegmentsListElement... items) A list of billing view segments.The pagination token that is used on subsequent calls to list billing view segments.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
A list of billing view segments. Each segment covers a portion of the requested time period. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.
- Parameters:
items- A list of billing view segments. Each segment covers a portion of the requested time period. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of billing view segments. Each segment covers a portion of the requested time period. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.
- Parameters:
items- A list of billing view segments. Each segment covers a portion of the requested time period. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListBillingViewSegmentsResponse.Builder items(Consumer<BillingViewSegmentsListElement.Builder>... items) A list of billing view segments. Each segment covers a portion of the requested time period. The response omits hidden segments, so the segments it returns might not cover the entire requested time period.
This is a convenience method that creates an instance of theBillingViewSegmentsListElement.Builderavoiding the need to create one manually viaBillingViewSegmentsListElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BillingViewSegmentsListElement>).- Parameters:
items- a consumer that will call methods onBillingViewSegmentsListElement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-