@Generated(value="software.amazon.awssdk:codegen") public final class NewDefaultValues extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NewDefaultValues.Builder,NewDefaultValues>
The configuration that overrides the existing default values for a dataset parameter that is inherited from another dataset.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NewDefaultValues.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NewDefaultValues.Builder |
builder() |
List<Instant> |
dateTimeStaticValues()
A list of static default values for a given date time parameter.
|
List<Double> |
decimalStaticValues()
A list of static default values for a given decimal parameter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDateTimeStaticValues()
For responses, this returns true if the service returned a value for the DateTimeStaticValues property.
|
boolean |
hasDecimalStaticValues()
For responses, this returns true if the service returned a value for the DecimalStaticValues property.
|
int |
hashCode() |
boolean |
hasIntegerStaticValues()
For responses, this returns true if the service returned a value for the IntegerStaticValues property.
|
boolean |
hasStringStaticValues()
For responses, this returns true if the service returned a value for the StringStaticValues property.
|
List<Long> |
integerStaticValues()
A list of static default values for a given integer parameter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NewDefaultValues.Builder> |
serializableBuilderClass() |
List<String> |
stringStaticValues()
A list of static default values for a given string parameter.
|
NewDefaultValues.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasStringStaticValues()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> stringStaticValues()
A list of static default values for a given string parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStringStaticValues() method.
public final boolean hasDecimalStaticValues()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Double> decimalStaticValues()
A list of static default values for a given decimal parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDecimalStaticValues() method.
public final boolean hasDateTimeStaticValues()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Instant> dateTimeStaticValues()
A list of static default values for a given date time parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDateTimeStaticValues() method.
public final boolean hasIntegerStaticValues()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Long> integerStaticValues()
A list of static default values for a given integer parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIntegerStaticValues() method.
public NewDefaultValues.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NewDefaultValues.Builder,NewDefaultValues>public static NewDefaultValues.Builder builder()
public static Class<? extends NewDefaultValues.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.