@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateTimeParameter extends Object implements Serializable, Cloneable, StructuredPojo
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 dataset.
|
List<Date> |
getValues()
Values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
A display name for the dataset.
|
void |
setValues(Collection<Date> values)
Values.
|
String |
toString()
Returns a string representation of this object.
|
DateTimeParameter |
withName(String name)
A display name for the dataset.
|
DateTimeParameter |
withValues(Collection<Date> values)
Values.
|
DateTimeParameter |
withValues(Date... values)
Values.
|
public void setName(String name)
A display name for the dataset.
name - A display name for the dataset.public String getName()
A display name for the dataset.
public DateTimeParameter withName(String name)
A display name for the dataset.
name - A display name for the dataset.public void setValues(Collection<Date> values)
Values.
values - Values.public DateTimeParameter withValues(Date... values)
Values.
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 - Values.public DateTimeParameter withValues(Collection<Date> values)
Values.
values - Values.public String toString()
toString in class ObjectObject.toString()public DateTimeParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.