Class ValidityTerm
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ValidityTerm.Builder,ValidityTerm>
Defines the conditions that will keep an agreement created from this offer valid.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringDefines the duration that the agreement remains active.final InstantDefines the date when the agreement ends.final InstantDefines the date when agreement starts.static ValidityTerm.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ValidityTerm.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringtype()Category of the term being updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.- Returns:
- 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.
-
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.- Returns:
- 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.
-
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.- Returns:
- 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.
-
type
Category of the term being updated.
- Returns:
- Category of the term being updated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidityTerm.Builder,ValidityTerm> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-