@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringParameter extends Object implements Serializable, Cloneable, StructuredPojo
A string parameter.
Constructor and Description |
---|
StringParameter() |
Modifier and Type | Method and Description |
---|---|
StringParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A display name for a string parameter.
|
List<String> |
getValues()
The values of a string parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
A display name for a string parameter.
|
void |
setValues(Collection<String> values)
The values of a string parameter.
|
String |
toString()
Returns a string representation of this object.
|
StringParameter |
withName(String name)
A display name for a string parameter.
|
StringParameter |
withValues(Collection<String> values)
The values of a string parameter.
|
StringParameter |
withValues(String... values)
The values of a string parameter.
|
public void setName(String name)
A display name for a string parameter.
name
- A display name for a string parameter.public String getName()
A display name for a string parameter.
public StringParameter withName(String name)
A display name for a string parameter.
name
- A display name for a string parameter.public List<String> getValues()
The values of a string parameter.
public void setValues(Collection<String> values)
The values of a string parameter.
values
- The values of a string parameter.public StringParameter withValues(String... values)
The values of a string parameter.
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
- The values of a string parameter.public StringParameter withValues(Collection<String> values)
The values of a string parameter.
values
- The values of a string parameter.public String toString()
toString
in class Object
Object.toString()
public StringParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.