@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GradientColor extends Object implements Serializable, Cloneable, StructuredPojo
Determines the gradient color settings.
Constructor and Description |
---|
GradientColor() |
Modifier and Type | Method and Description |
---|---|
GradientColor |
clone() |
boolean |
equals(Object obj) |
List<GradientStop> |
getStops()
The list of gradient color stops.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStops(Collection<GradientStop> stops)
The list of gradient color stops.
|
String |
toString()
Returns a string representation of this object.
|
GradientColor |
withStops(Collection<GradientStop> stops)
The list of gradient color stops.
|
GradientColor |
withStops(GradientStop... stops)
The list of gradient color stops.
|
public List<GradientStop> getStops()
The list of gradient color stops.
public void setStops(Collection<GradientStop> stops)
The list of gradient color stops.
stops
- The list of gradient color stops.public GradientColor withStops(GradientStop... stops)
The list of gradient color stops.
NOTE: This method appends the values to the existing list (if any). Use
setStops(java.util.Collection)
or withStops(java.util.Collection)
if you want to override the
existing values.
stops
- The list of gradient color stops.public GradientColor withStops(Collection<GradientStop> stops)
The list of gradient color stops.
stops
- The list of gradient color stops.public String toString()
toString
in class Object
Object.toString()
public GradientColor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.