@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataPathColor extends Object implements Serializable, Cloneable, StructuredPojo
The color map that determines the color options for a particular element.
Constructor and Description |
---|
DataPathColor() |
Modifier and Type | Method and Description |
---|---|
DataPathColor |
clone() |
boolean |
equals(Object obj) |
String |
getColor()
The color that needs to be applied to the element.
|
DataPathValue |
getElement()
The element that the color needs to be applied to.
|
String |
getTimeGranularity()
The time granularity of the field that the color needs to be applied to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColor(String color)
The color that needs to be applied to the element.
|
void |
setElement(DataPathValue element)
The element that the color needs to be applied to.
|
void |
setTimeGranularity(String timeGranularity)
The time granularity of the field that the color needs to be applied to.
|
String |
toString()
Returns a string representation of this object.
|
DataPathColor |
withColor(String color)
The color that needs to be applied to the element.
|
DataPathColor |
withElement(DataPathValue element)
The element that the color needs to be applied to.
|
DataPathColor |
withTimeGranularity(String timeGranularity)
The time granularity of the field that the color needs to be applied to.
|
DataPathColor |
withTimeGranularity(TimeGranularity timeGranularity)
The time granularity of the field that the color needs to be applied to.
|
public void setElement(DataPathValue element)
The element that the color needs to be applied to.
element
- The element that the color needs to be applied to.public DataPathValue getElement()
The element that the color needs to be applied to.
public DataPathColor withElement(DataPathValue element)
The element that the color needs to be applied to.
element
- The element that the color needs to be applied to.public void setColor(String color)
The color that needs to be applied to the element.
color
- The color that needs to be applied to the element.public String getColor()
The color that needs to be applied to the element.
public DataPathColor withColor(String color)
The color that needs to be applied to the element.
color
- The color that needs to be applied to the element.public void setTimeGranularity(String timeGranularity)
The time granularity of the field that the color needs to be applied to.
timeGranularity
- The time granularity of the field that the color needs to be applied to.TimeGranularity
public String getTimeGranularity()
The time granularity of the field that the color needs to be applied to.
TimeGranularity
public DataPathColor withTimeGranularity(String timeGranularity)
The time granularity of the field that the color needs to be applied to.
timeGranularity
- The time granularity of the field that the color needs to be applied to.TimeGranularity
public DataPathColor withTimeGranularity(TimeGranularity timeGranularity)
The time granularity of the field that the color needs to be applied to.
timeGranularity
- The time granularity of the field that the color needs to be applied to.TimeGranularity
public String toString()
toString
in class Object
Object.toString()
public DataPathColor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.