@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GradientStop extends Object implements Serializable, Cloneable, StructuredPojo
Determines the gradient stop configuration.
Constructor and Description |
---|
GradientStop() |
Modifier and Type | Method and Description |
---|---|
GradientStop |
clone() |
boolean |
equals(Object obj) |
String |
getColor()
Determines the color.
|
Double |
getDataValue()
Determines the data value.
|
Double |
getGradientOffset()
Determines gradient offset value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColor(String color)
Determines the color.
|
void |
setDataValue(Double dataValue)
Determines the data value.
|
void |
setGradientOffset(Double gradientOffset)
Determines gradient offset value.
|
String |
toString()
Returns a string representation of this object.
|
GradientStop |
withColor(String color)
Determines the color.
|
GradientStop |
withDataValue(Double dataValue)
Determines the data value.
|
GradientStop |
withGradientOffset(Double gradientOffset)
Determines gradient offset value.
|
public void setGradientOffset(Double gradientOffset)
Determines gradient offset value.
gradientOffset
- Determines gradient offset value.public Double getGradientOffset()
Determines gradient offset value.
public GradientStop withGradientOffset(Double gradientOffset)
Determines gradient offset value.
gradientOffset
- Determines gradient offset value.public void setDataValue(Double dataValue)
Determines the data value.
dataValue
- Determines the data value.public Double getDataValue()
Determines the data value.
public GradientStop withDataValue(Double dataValue)
Determines the data value.
dataValue
- Determines the data value.public void setColor(String color)
Determines the color.
color
- Determines the color.public String getColor()
Determines the color.
public GradientStop withColor(String color)
Determines the color.
color
- Determines the color.public String toString()
toString
in class Object
Object.toString()
public GradientStop clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.