Interface ContractSummary.Builder

  • Method Details

    • contractArn

      ContractSummary.Builder contractArn(String contractArn)

      The Amazon Resource Name (ARN) of the contract. Pass this value to operations such as GetContractInformation, ListContractualInvestmentSummaries, and AssociateContract.

      Parameters:
      contractArn - The Amazon Resource Name (ARN) of the contract. Pass this value to operations such as GetContractInformation, ListContractualInvestmentSummaries, and AssociateContract.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contractTerm

      ContractSummary.Builder contractTerm(Interval 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

      default ContractSummary.Builder contractTerm(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.

      This is a convenience method that creates an instance of the Interval.Builder avoiding the need to create one manually via Interval.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contractTerm(Interval).

      Parameters:
      contractTerm - a consumer that will call methods on Interval.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contractType

      ContractSummary.Builder contractType(String contractType)

      The classification of the contract. Valid values are Cross-Service, Service-Specific, and Other. Cross-Service applies across multiple Amazon Web Services services. Service-Specific applies to a specific Amazon Web Services service. Other applies to other arrangements.

      Parameters:
      contractType - The classification of the contract. Valid values are Cross-Service, Service-Specific, and Other. Cross-Service applies across multiple Amazon Web Services services. Service-Specific applies to a specific Amazon Web Services service. Other applies to other arrangements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contractType

      ContractSummary.Builder contractType(ContractType contractType)

      The classification of the contract. Valid values are Cross-Service, Service-Specific, and Other. Cross-Service applies across multiple Amazon Web Services services. Service-Specific applies to a specific Amazon Web Services service. Other applies to other arrangements.

      Parameters:
      contractType - The classification of the contract. Valid values are Cross-Service, Service-Specific, and Other. Cross-Service applies across multiple Amazon Web Services services. Service-Specific applies to a specific Amazon Web Services service. Other applies to other arrangements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationStatus

      ContractSummary.Builder associationStatus(String associationStatus)

      Indicates whether the contract is currently associated with your account. Valid values are ASSOCIATED and NOT_ASSOCIATED. ASSOCIATED means the contract is associated with your account. NOT_ASSOCIATED means the contract is not associated with your account.

      Parameters:
      associationStatus - Indicates whether the contract is currently associated with your account. Valid values are ASSOCIATED and NOT_ASSOCIATED. ASSOCIATED means the contract is associated with your account. NOT_ASSOCIATED means 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

      ContractSummary.Builder associationStatus(AssociationStatus associationStatus)

      Indicates whether the contract is currently associated with your account. Valid values are ASSOCIATED and NOT_ASSOCIATED. ASSOCIATED means the contract is associated with your account. NOT_ASSOCIATED means the contract is not associated with your account.

      Parameters:
      associationStatus - Indicates whether the contract is currently associated with your account. Valid values are ASSOCIATED and NOT_ASSOCIATED. ASSOCIATED means the contract is associated with your account. NOT_ASSOCIATED means 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

      ContractSummary.Builder lastUpdatedAt(Instant 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.