@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateTimeParameterDeclaration extends Object implements Serializable, Cloneable, StructuredPojo
A parameter declaration for the DateTime data type.
| Constructor and Description |
|---|
DateTimeParameterDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
DateTimeParameterDeclaration |
clone() |
boolean |
equals(Object obj) |
DateTimeDefaultValues |
getDefaultValues()
The default values of a parameter.
|
List<MappedDataSetParameter> |
getMappedDataSetParameters() |
String |
getName()
The name of the parameter that is being declared.
|
String |
getTimeGranularity()
The level of time precision that is used to aggregate
DateTime values. |
DateTimeValueWhenUnsetConfiguration |
getValueWhenUnset()
The configuration that defines the default value of a
DateTime parameter when a value has not been
set. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDefaultValues(DateTimeDefaultValues defaultValues)
The default values of a parameter.
|
void |
setMappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters) |
void |
setName(String name)
The name of the parameter that is being declared.
|
void |
setTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
void |
setValueWhenUnset(DateTimeValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a
DateTime parameter when a value has not been
set. |
String |
toString()
Returns a string representation of this object.
|
DateTimeParameterDeclaration |
withDefaultValues(DateTimeDefaultValues defaultValues)
The default values of a parameter.
|
DateTimeParameterDeclaration |
withMappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters) |
DateTimeParameterDeclaration |
withMappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters)
NOTE: This method appends the values to the existing list (if any).
|
DateTimeParameterDeclaration |
withName(String name)
The name of the parameter that is being declared.
|
DateTimeParameterDeclaration |
withTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
DateTimeParameterDeclaration |
withTimeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
DateTimeParameterDeclaration |
withValueWhenUnset(DateTimeValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a
DateTime parameter when a value has not been
set. |
public void setName(String name)
The name of the parameter that is being declared.
name - The name of the parameter that is being declared.public String getName()
The name of the parameter that is being declared.
public DateTimeParameterDeclaration withName(String name)
The name of the parameter that is being declared.
name - The name of the parameter that is being declared.public void setDefaultValues(DateTimeDefaultValues defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
defaultValues - The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default
value can be provided.public DateTimeDefaultValues getDefaultValues()
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
public DateTimeParameterDeclaration withDefaultValues(DateTimeDefaultValues defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
defaultValues - The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default
value can be provided.public void setTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularitypublic String getTimeGranularity()
The level of time precision that is used to aggregate DateTime values.
DateTime values.TimeGranularitypublic DateTimeParameterDeclaration withTimeGranularity(String timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularitypublic DateTimeParameterDeclaration withTimeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularitypublic void setValueWhenUnset(DateTimeValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a DateTime parameter when a value has not been
set.
valueWhenUnset - The configuration that defines the default value of a DateTime parameter when a value has not
been set.public DateTimeValueWhenUnsetConfiguration getValueWhenUnset()
The configuration that defines the default value of a DateTime parameter when a value has not been
set.
DateTime parameter when a value has
not been set.public DateTimeParameterDeclaration withValueWhenUnset(DateTimeValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a DateTime parameter when a value has not been
set.
valueWhenUnset - The configuration that defines the default value of a DateTime parameter when a value has not
been set.public List<MappedDataSetParameter> getMappedDataSetParameters()
public void setMappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters)
mappedDataSetParameters - public DateTimeParameterDeclaration withMappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters)
NOTE: This method appends the values to the existing list (if any). Use
setMappedDataSetParameters(java.util.Collection) or
withMappedDataSetParameters(java.util.Collection) if you want to override the existing values.
mappedDataSetParameters - public DateTimeParameterDeclaration withMappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters)
mappedDataSetParameters - public String toString()
toString in class ObjectObject.toString()public DateTimeParameterDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.