Interface ValidityTerm.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidityTerm.Builder,ValidityTerm>,SdkBuilder<ValidityTerm.Builder,ValidityTerm>,SdkPojo
- Enclosing class:
- ValidityTerm
public static interface ValidityTerm.Builder extends SdkPojo, CopyableBuilder<ValidityTerm.Builder,ValidityTerm>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidityTerm.BuilderagreementDuration(String agreementDuration)Defines the duration that the agreement remains active.ValidityTerm.BuilderagreementEndDate(Instant agreementEndDate)Defines the date when the agreement ends.ValidityTerm.BuilderagreementStartDate(Instant agreementStartDate)Defines the date when agreement starts.ValidityTerm.Buildertype(String type)Category of the term being updated.-
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, sdkFields
-
-
-
-
Method Detail
-
agreementDuration
ValidityTerm.Builder agreementDuration(String agreementDuration)
Defines the duration that the agreement remains active. If
AgreementStartDateisn’t provided, the agreement duration is relative to the agreement signature time. The duration is represented in the ISO_8601 format.- Parameters:
agreementDuration- Defines the duration that the agreement remains active. IfAgreementStartDateisn’t provided, the agreement duration is relative to the agreement signature time. The duration is represented in the ISO_8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementEndDate
ValidityTerm.Builder agreementEndDate(Instant agreementEndDate)
Defines the date when the agreement ends. The agreement ends at 23:59:59.999 UTC on the date provided. If
AgreementEndDateisn’t provided, the agreement end date is determined by the validity of individual terms.- Parameters:
agreementEndDate- Defines the date when the agreement ends. The agreement ends at 23:59:59.999 UTC on the date provided. IfAgreementEndDateisn’t provided, the agreement end date is determined by the validity of individual terms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementStartDate
ValidityTerm.Builder agreementStartDate(Instant agreementStartDate)
Defines the date when agreement starts. The agreement starts at 00:00:00.000 UTC on the date provided. If
AgreementStartDateisn’t provided, the agreement start date is determined based on agreement signature time.- Parameters:
agreementStartDate- Defines the date when agreement starts. The agreement starts at 00:00:00.000 UTC on the date provided. IfAgreementStartDateisn’t provided, the agreement start date is determined based on agreement signature time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ValidityTerm.Builder type(String type)
Category of the term being updated.
- Parameters:
type- Category of the term being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-