@Generated(value="software.amazon.awssdk:codegen") public final class DateTimeDatasetParameter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateTimeDatasetParameter.Builder,DateTimeDatasetParameter>
A date time parameter for a dataset.
Modifier and Type | Class and Description |
---|---|
static interface |
DateTimeDatasetParameter.Builder |
Modifier and Type | Method and Description |
---|---|
static DateTimeDatasetParameter.Builder |
builder() |
DateTimeDatasetParameterDefaultValues |
defaultValues()
A list of default values for a given date time parameter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
An identifier for the parameter that is created in the dataset.
|
String |
name()
The name of the date time parameter that is created in the dataset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DateTimeDatasetParameter.Builder> |
serializableBuilderClass() |
TimeGranularity |
timeGranularity()
The time granularity of the date time parameter.
|
String |
timeGranularityAsString()
The time granularity of the date time parameter.
|
DateTimeDatasetParameter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DatasetParameterValueType |
valueType()
The value type of the dataset parameter.
|
String |
valueTypeAsString()
The value type of the dataset parameter.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String id()
An identifier for the parameter that is created in the dataset.
public final String name()
The name of the date time parameter that is created in the dataset.
public final DatasetParameterValueType valueType()
The value type of the dataset parameter. Valid values are single value
or multi value
.
If the service returns an enum value that is not available in the current SDK version, valueType
will
return DatasetParameterValueType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from valueTypeAsString()
.
single value
or
multi value
.DatasetParameterValueType
public final String valueTypeAsString()
The value type of the dataset parameter. Valid values are single value
or multi value
.
If the service returns an enum value that is not available in the current SDK version, valueType
will
return DatasetParameterValueType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from valueTypeAsString()
.
single value
or
multi value
.DatasetParameterValueType
public final TimeGranularity timeGranularity()
The time granularity of the date time parameter.
If the service returns an enum value that is not available in the current SDK version, timeGranularity
will return TimeGranularity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from timeGranularityAsString()
.
TimeGranularity
public final String timeGranularityAsString()
The time granularity of the date time parameter.
If the service returns an enum value that is not available in the current SDK version, timeGranularity
will return TimeGranularity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from timeGranularityAsString()
.
TimeGranularity
public final DateTimeDatasetParameterDefaultValues defaultValues()
A list of default values for a given date time parameter. This structure only accepts static values.
public DateTimeDatasetParameter.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DateTimeDatasetParameter.Builder,DateTimeDatasetParameter>
public static DateTimeDatasetParameter.Builder builder()
public static Class<? extends DateTimeDatasetParameter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.