Interface ContractSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContractSummary.Builder,,ContractSummary> SdkBuilder<ContractSummary.Builder,,ContractSummary> SdkPojo
- Enclosing class:
ContractSummary
-
Method Summary
Modifier and TypeMethodDescriptionassociationStatus(String associationStatus) Indicates whether the contract is currently associated with your account.associationStatus(AssociationStatus associationStatus) Indicates whether the contract is currently associated with your account.contractArn(String contractArn) The Amazon Resource Name (ARN) of the contract.default ContractSummary.BuildercontractTerm(Consumer<Interval.Builder> contractTerm) The contract term period of the contract, expressed as an interval with an inclusive start date and an inclusive end date.contractTerm(Interval contractTerm) The contract term period of the contract, expressed as an interval with an inclusive start date and an inclusive end date.contractType(String contractType) The classification of the contract.contractType(ContractType contractType) The classification of the contract.lastUpdatedAt(Instant lastUpdatedAt) The time when the contract was last associated with your account.Methods 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
-
contractArn
The Amazon Resource Name (ARN) of the contract. Pass this value to operations such as
GetContractInformation,ListContractualInvestmentSummaries, andAssociateContract.- Parameters:
contractArn- The Amazon Resource Name (ARN) of the contract. Pass this value to operations such asGetContractInformation,ListContractualInvestmentSummaries, andAssociateContract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTerm
The contract term period of the contract, expressed as an interval with an inclusive start date and an inclusive end date.
- Parameters:
contractTerm- The contract term period of the contract, expressed as an interval with an inclusive start date and an inclusive end date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTerm
The contract term period of the contract, expressed as an interval with an inclusive start date and an inclusive end date.
This is a convenience method that creates an instance of theInterval.Builderavoiding the need to create one manually viaInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontractTerm(Interval).- Parameters:
contractTerm- a consumer that will call methods onInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractType
The classification of the contract. Valid values are
Cross-Service,Service-Specific, andOther.Cross-Serviceapplies across multiple Amazon Web Services services.Service-Specificapplies to a specific Amazon Web Services service.Otherapplies to other arrangements.- Parameters:
contractType- The classification of the contract. Valid values areCross-Service,Service-Specific, andOther.Cross-Serviceapplies across multiple Amazon Web Services services.Service-Specificapplies to a specific Amazon Web Services service.Otherapplies to other arrangements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractType
The classification of the contract. Valid values are
Cross-Service,Service-Specific, andOther.Cross-Serviceapplies across multiple Amazon Web Services services.Service-Specificapplies to a specific Amazon Web Services service.Otherapplies to other arrangements.- Parameters:
contractType- The classification of the contract. Valid values areCross-Service,Service-Specific, andOther.Cross-Serviceapplies across multiple Amazon Web Services services.Service-Specificapplies to a specific Amazon Web Services service.Otherapplies to other arrangements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationStatus
Indicates whether the contract is currently associated with your account. Valid values are
ASSOCIATEDandNOT_ASSOCIATED.ASSOCIATEDmeans the contract is associated with your account.NOT_ASSOCIATEDmeans the contract is not associated with your account.- Parameters:
associationStatus- Indicates whether the contract is currently associated with your account. Valid values areASSOCIATEDandNOT_ASSOCIATED.ASSOCIATEDmeans the contract is associated with your account.NOT_ASSOCIATEDmeans the contract is not associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationStatus
Indicates whether the contract is currently associated with your account. Valid values are
ASSOCIATEDandNOT_ASSOCIATED.ASSOCIATEDmeans the contract is associated with your account.NOT_ASSOCIATEDmeans the contract is not associated with your account.- Parameters:
associationStatus- Indicates whether the contract is currently associated with your account. Valid values areASSOCIATEDandNOT_ASSOCIATED.ASSOCIATEDmeans the contract is associated with your account.NOT_ASSOCIATEDmeans the contract is not associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAt
The time when the contract was last associated with your account.
- Parameters:
lastUpdatedAt- The time when the contract was last associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-