@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateTimeDatasetParameter extends Object implements Serializable, Cloneable, StructuredPojo
A date time parameter for a dataset.
Constructor and Description |
---|
DateTimeDatasetParameter() |
Modifier and Type | Method and Description |
---|---|
DateTimeDatasetParameter |
clone() |
boolean |
equals(Object obj) |
DateTimeDatasetParameterDefaultValues |
getDefaultValues()
A list of default values for a given date time parameter.
|
String |
getId()
An identifier for the parameter that is created in the dataset.
|
String |
getName()
The name of the date time parameter that is created in the dataset.
|
String |
getTimeGranularity()
The time granularity of the date time parameter.
|
String |
getValueType()
The value type of the dataset parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultValues(DateTimeDatasetParameterDefaultValues defaultValues)
A list of default values for a given date time parameter.
|
void |
setId(String id)
An identifier for the parameter that is created in the dataset.
|
void |
setName(String name)
The name of the date time parameter that is created in the dataset.
|
void |
setTimeGranularity(String timeGranularity)
The time granularity of the date time parameter.
|
void |
setValueType(String valueType)
The value type of the dataset parameter.
|
String |
toString()
Returns a string representation of this object.
|
DateTimeDatasetParameter |
withDefaultValues(DateTimeDatasetParameterDefaultValues defaultValues)
A list of default values for a given date time parameter.
|
DateTimeDatasetParameter |
withId(String id)
An identifier for the parameter that is created in the dataset.
|
DateTimeDatasetParameter |
withName(String name)
The name of the date time parameter that is created in the dataset.
|
DateTimeDatasetParameter |
withTimeGranularity(String timeGranularity)
The time granularity of the date time parameter.
|
DateTimeDatasetParameter |
withTimeGranularity(TimeGranularity timeGranularity)
The time granularity of the date time parameter.
|
DateTimeDatasetParameter |
withValueType(DatasetParameterValueType valueType)
The value type of the dataset parameter.
|
DateTimeDatasetParameter |
withValueType(String valueType)
The value type of the dataset parameter.
|
public void setId(String id)
An identifier for the parameter that is created in the dataset.
id
- An identifier for the parameter that is created in the dataset.public String getId()
An identifier for the parameter that is created in the dataset.
public DateTimeDatasetParameter withId(String id)
An identifier for the parameter that is created in the dataset.
id
- An identifier for the parameter that is created in the dataset.public void setName(String name)
The name of the date time parameter that is created in the dataset.
name
- The name of the date time parameter that is created in the dataset.public String getName()
The name of the date time parameter that is created in the dataset.
public DateTimeDatasetParameter withName(String name)
The name of the date time parameter that is created in the dataset.
name
- The name of the date time parameter that is created in the dataset.public void setValueType(String valueType)
The value type of the dataset parameter. Valid values are single value
or multi value
.
valueType
- The value type of the dataset parameter. Valid values are single value
or
multi value
.DatasetParameterValueType
public String getValueType()
The value type of the dataset parameter. Valid values are single value
or multi value
.
single value
or
multi value
.DatasetParameterValueType
public DateTimeDatasetParameter withValueType(String valueType)
The value type of the dataset parameter. Valid values are single value
or multi value
.
valueType
- The value type of the dataset parameter. Valid values are single value
or
multi value
.DatasetParameterValueType
public DateTimeDatasetParameter withValueType(DatasetParameterValueType valueType)
The value type of the dataset parameter. Valid values are single value
or multi value
.
valueType
- The value type of the dataset parameter. Valid values are single value
or
multi value
.DatasetParameterValueType
public void setTimeGranularity(String timeGranularity)
The time granularity of the date time parameter.
timeGranularity
- The time granularity of the date time parameter.TimeGranularity
public String getTimeGranularity()
The time granularity of the date time parameter.
TimeGranularity
public DateTimeDatasetParameter withTimeGranularity(String timeGranularity)
The time granularity of the date time parameter.
timeGranularity
- The time granularity of the date time parameter.TimeGranularity
public DateTimeDatasetParameter withTimeGranularity(TimeGranularity timeGranularity)
The time granularity of the date time parameter.
timeGranularity
- The time granularity of the date time parameter.TimeGranularity
public void setDefaultValues(DateTimeDatasetParameterDefaultValues defaultValues)
A list of default values for a given date time parameter. This structure only accepts static values.
defaultValues
- A list of default values for a given date time parameter. This structure only accepts static values.public DateTimeDatasetParameterDefaultValues getDefaultValues()
A list of default values for a given date time parameter. This structure only accepts static values.
public DateTimeDatasetParameter withDefaultValues(DateTimeDatasetParameterDefaultValues defaultValues)
A list of default values for a given date time parameter. This structure only accepts static values.
defaultValues
- A list of default values for a given date time parameter. This structure only accepts static values.public String toString()
toString
in class Object
Object.toString()
public DateTimeDatasetParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.