@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) |
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 Object
Object.toString()
public StaticValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.