@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StaticValue extends Object implements Serializable, Cloneable, StructuredPojo
The static value of the resource.
| Constructor and Description |
|---|
StaticValue() |
| Modifier and Type | Method and Description |
|---|---|
StaticValue |
clone() |
boolean |
equals(Object obj) |
List<String> |
getValues()
A list of values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setValues(Collection<String> values)
A list of values.
|
String |
toString()
Returns a string representation of this object.
|
StaticValue |
withValues(Collection<String> values)
A list of values.
|
StaticValue |
withValues(String... values)
A list of values.
|
public List<String> getValues()
A list of values. For example, the ARN of the assumed role.
public void setValues(Collection<String> values)
A list of values. For example, the ARN of the assumed role.
values - A list of values. For example, the ARN of the assumed role.public StaticValue withValues(String... values)
A list of values. For example, the ARN of the assumed role.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - A list of values. For example, the ARN of the assumed role.public StaticValue withValues(Collection<String> values)
A list of values. For example, the ARN of the assumed role.
values - A list of values. For example, the ARN of the assumed role.public String toString()
toString in class ObjectObject.toString()public StaticValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.