@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateTimeParameter extends Object implements Serializable, Cloneable, StructuredPojo
A date-time parameter.
Constructor and Description |
---|
DateTimeParameter() |
Modifier and Type | Method and Description |
---|---|
DateTimeParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A display name for the date-time parameter.
|
List<Date> |
getValues()
The values for the date-time parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
A display name for the date-time parameter.
|
void |
setValues(Collection<Date> values)
The values for the date-time parameter.
|
String |
toString()
Returns a string representation of this object.
|
DateTimeParameter |
withName(String name)
A display name for the date-time parameter.
|
DateTimeParameter |
withValues(Collection<Date> values)
The values for the date-time parameter.
|
DateTimeParameter |
withValues(Date... values)
The values for the date-time parameter.
|
public void setName(String name)
A display name for the date-time parameter.
name
- A display name for the date-time parameter.public String getName()
A display name for the date-time parameter.
public DateTimeParameter withName(String name)
A display name for the date-time parameter.
name
- A display name for the date-time parameter.public List<Date> getValues()
The values for the date-time parameter.
public void setValues(Collection<Date> values)
The values for the date-time parameter.
values
- The values for the date-time parameter.public DateTimeParameter withValues(Date... values)
The values for the date-time parameter.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values for the date-time parameter.public DateTimeParameter withValues(Collection<Date> values)
The values for the date-time parameter.
values
- The values for the date-time parameter.public String toString()
toString
in class Object
Object.toString()
public DateTimeParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.