Interface GetBillingViewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingResponse.Builder
,Buildable
,CopyableBuilder<GetBillingViewResponse.Builder,
,GetBillingViewResponse> SdkBuilder<GetBillingViewResponse.Builder,
,GetBillingViewResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBillingViewResponse
@Mutable
@NotThreadSafe
public static interface GetBillingViewResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<GetBillingViewResponse.Builder,GetBillingViewResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetBillingViewResponse.Builder
billingView
(Consumer<BillingViewElement.Builder> billingView) The billing view element associated with the specified ARN.billingView
(BillingViewElement billingView) The billing view element associated with the specified ARN.Methods inherited from interface software.amazon.awssdk.services.billing.model.BillingResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
billingView
The billing view element associated with the specified ARN.
- Parameters:
billingView
- The billing view element associated with the specified ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingView
default GetBillingViewResponse.Builder billingView(Consumer<BillingViewElement.Builder> billingView) The billing view element associated with the specified ARN.
This is a convenience method that creates an instance of theBillingViewElement.Builder
avoiding the need to create one manually viaBillingViewElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillingView(BillingViewElement)
.- Parameters:
billingView
- a consumer that will call methods onBillingViewElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-