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.BuilderbillingView(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, 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
-
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.Builderavoiding the need to create one manually viaBillingViewElement.builder().When the
Consumercompletes,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:
-