@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidityTerm extends Object implements Serializable, Cloneable, StructuredPojo
Defines the conditions that will keep an agreement created from this offer valid.
Constructor and Description |
---|
ValidityTerm() |
Modifier and Type | Method and Description |
---|---|
ValidityTerm |
clone() |
boolean |
equals(Object obj) |
String |
getAgreementDuration()
Defines the duration that the agreement remains active.
|
Date |
getAgreementEndDate()
Defines the date when the agreement ends.
|
Date |
getAgreementStartDate()
Defines the date when agreement starts.
|
String |
getType()
Category of the term being updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgreementDuration(String agreementDuration)
Defines the duration that the agreement remains active.
|
void |
setAgreementEndDate(Date agreementEndDate)
Defines the date when the agreement ends.
|
void |
setAgreementStartDate(Date agreementStartDate)
Defines the date when agreement starts.
|
void |
setType(String type)
Category of the term being updated.
|
String |
toString()
Returns a string representation of this object.
|
ValidityTerm |
withAgreementDuration(String agreementDuration)
Defines the duration that the agreement remains active.
|
ValidityTerm |
withAgreementEndDate(Date agreementEndDate)
Defines the date when the agreement ends.
|
ValidityTerm |
withAgreementStartDate(Date agreementStartDate)
Defines the date when agreement starts.
|
ValidityTerm |
withType(String type)
Category of the term being updated.
|
public void setAgreementDuration(String 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.
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.public String getAgreementDuration()
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.
AgreementStartDate
isn’t
provided, the agreement duration is relative to the agreement signature time. The duration is represented
in the ISO_8601 format.public ValidityTerm withAgreementDuration(String 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.
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.public void setAgreementEndDate(Date 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.
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.public Date getAgreementEndDate()
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.
AgreementEndDate
isn’t provided, the agreement end date is determined by the validity of
individual terms.public ValidityTerm withAgreementEndDate(Date 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.
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.public void setAgreementStartDate(Date 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.
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.public Date getAgreementStartDate()
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.
AgreementStartDate
isn’t provided, the agreement start date is determined based on agreement
signature time.public ValidityTerm withAgreementStartDate(Date 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.
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.public void setType(String type)
Category of the term being updated.
type
- Category of the term being updated.public String getType()
Category of the term being updated.
public ValidityTerm withType(String type)
Category of the term being updated.
type
- Category of the term being updated.public String toString()
toString
in class Object
Object.toString()
public ValidityTerm clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.