@Generated(value="software.amazon.awssdk:codegen") public final class DataPathColor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataPathColor.Builder,DataPathColor>
The color map that determines the color options for a particular element.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataPathColor.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataPathColor.Builder |
builder() |
String |
color()
The color that needs to be applied to the element.
|
DataPathValue |
element()
The element that the color needs to be applied to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataPathColor.Builder> |
serializableBuilderClass() |
TimeGranularity |
timeGranularity()
The time granularity of the field that the color needs to be applied to.
|
String |
timeGranularityAsString()
The time granularity of the field that the color needs to be applied to.
|
DataPathColor.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DataPathValue element()
The element that the color needs to be applied to.
public final String color()
The color that needs to be applied to the element.
public final TimeGranularity timeGranularity()
The time granularity of the field that the color needs to be applied to.
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().
TimeGranularitypublic final String timeGranularityAsString()
The time granularity of the field that the color needs to be applied to.
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().
TimeGranularitypublic DataPathColor.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataPathColor.Builder,DataPathColor>public static DataPathColor.Builder builder()
public static Class<? extends DataPathColor.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.