Interface ValidityTerm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ValidityTerm.Builder,
,ValidityTerm> SdkBuilder<ValidityTerm.Builder,
,ValidityTerm> SdkPojo
- Enclosing class:
ValidityTerm
@Mutable
@NotThreadSafe
public static interface ValidityTerm.Builder
extends SdkPojo, CopyableBuilder<ValidityTerm.Builder,ValidityTerm>
-
Method Summary
Modifier and TypeMethodDescriptionagreementDuration
(String agreementDuration) Defines the duration that the agreement remains active.agreementEndDate
(Instant agreementEndDate) Defines the date when the agreement ends.agreementStartDate
(Instant agreementStartDate) Defines the date when agreement starts.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, sdkFieldNameToField, sdkFields
-
Method Details
-
agreementDuration
Defines the duration that the agreement remains active. If
AgreementStartDate
isn’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. IfAgreementStartDate
isn’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
Defines the date when the agreement ends. The agreement ends at 23:59:59.999 UTC on the date provided. If
AgreementEndDate
isn’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. IfAgreementEndDate
isn’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
Defines the date when agreement starts. The agreement starts at 00:00:00.000 UTC on the date provided. If
AgreementStartDate
isn’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. IfAgreementStartDate
isn’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
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.
-