Interface GetContractInformationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingResponse.Builder,Buildable,CopyableBuilder<GetContractInformationResponse.Builder,,GetContractInformationResponse> SdkBuilder<GetContractInformationResponse.Builder,,GetContractInformationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetContractInformationResponse
@Mutable
@NotThreadSafe
public static interface GetContractInformationResponse.Builder
extends BillingResponse.Builder, SdkPojo, CopyableBuilder<GetContractInformationResponse.Builder,GetContractInformationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontract(Consumer<ContractDetails.Builder> contract) The contract details such as term (duration), eligible payer accounts, investment accounts, and legal entities.contract(ContractDetails contract) The contract details such as term (duration), eligible payer accounts, investment accounts, and legal entities.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
-
contract
The contract details such as term (duration), eligible payer accounts, investment accounts, and legal entities.
- Parameters:
contract- The contract details such as term (duration), eligible payer accounts, investment accounts, and legal entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contract
The contract details such as term (duration), eligible payer accounts, investment accounts, and legal entities.
This is a convenience method that creates an instance of theContractDetails.Builderavoiding the need to create one manually viaContractDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontract(ContractDetails).- Parameters:
contract- a consumer that will call methods onContractDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-