@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentParameter extends Object implements Serializable, Cloneable, StructuredPojo
Contains a key/value pair that sets the named component parameter.
Constructor and Description |
---|
ComponentParameter() |
Modifier and Type | Method and Description |
---|---|
ComponentParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the component parameter to set.
|
List<String> |
getValue()
Sets the value for the named component parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the component parameter to set.
|
void |
setValue(Collection<String> value)
Sets the value for the named component parameter.
|
String |
toString()
Returns a string representation of this object.
|
ComponentParameter |
withName(String name)
The name of the component parameter to set.
|
ComponentParameter |
withValue(Collection<String> value)
Sets the value for the named component parameter.
|
ComponentParameter |
withValue(String... value)
Sets the value for the named component parameter.
|
public void setName(String name)
The name of the component parameter to set.
name
- The name of the component parameter to set.public String getName()
The name of the component parameter to set.
public ComponentParameter withName(String name)
The name of the component parameter to set.
name
- The name of the component parameter to set.public List<String> getValue()
Sets the value for the named component parameter.
public void setValue(Collection<String> value)
Sets the value for the named component parameter.
value
- Sets the value for the named component parameter.public ComponentParameter withValue(String... value)
Sets the value for the named component parameter.
NOTE: This method appends the values to the existing list (if any). Use
setValue(java.util.Collection)
or withValue(java.util.Collection)
if you want to override the
existing values.
value
- Sets the value for the named component parameter.public ComponentParameter withValue(Collection<String> value)
Sets the value for the named component parameter.
value
- Sets the value for the named component parameter.public String toString()
toString
in class Object
Object.toString()
public ComponentParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.