@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateReference extends Object implements Serializable, Cloneable, StructuredPojo
Information about a reference when the referenceType is DATE. Otherwise, null.
| Constructor and Description |
|---|
DateReference() |
| Modifier and Type | Method and Description |
|---|---|
DateReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Identifier of the date reference.
|
String |
getValue()
A valid date.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
Identifier of the date reference.
|
void |
setValue(String value)
A valid date.
|
String |
toString()
Returns a string representation of this object.
|
DateReference |
withName(String name)
Identifier of the date reference.
|
DateReference |
withValue(String value)
A valid date.
|
public void setName(String name)
Identifier of the date reference.
name - Identifier of the date reference.public String getName()
Identifier of the date reference.
public DateReference withName(String name)
Identifier of the date reference.
name - Identifier of the date reference.public void setValue(String value)
A valid date.
value - A valid date.public String getValue()
A valid date.
public DateReference withValue(String value)
A valid date.
value - A valid date.public String toString()
toString in class ObjectObject.toString()public DateReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.