@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowParameter extends Object implements Serializable, Cloneable, StructuredPojo
Contains a key/value pair that sets the named workflow parameter.
Constructor and Description |
---|
WorkflowParameter() |
Modifier and Type | Method and Description |
---|---|
WorkflowParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the workflow parameter to set.
|
List<String> |
getValue()
Sets the value for the named workflow parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the workflow parameter to set.
|
void |
setValue(Collection<String> value)
Sets the value for the named workflow parameter.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowParameter |
withName(String name)
The name of the workflow parameter to set.
|
WorkflowParameter |
withValue(Collection<String> value)
Sets the value for the named workflow parameter.
|
WorkflowParameter |
withValue(String... value)
Sets the value for the named workflow parameter.
|
public void setName(String name)
The name of the workflow parameter to set.
name
- The name of the workflow parameter to set.public String getName()
The name of the workflow parameter to set.
public WorkflowParameter withName(String name)
The name of the workflow parameter to set.
name
- The name of the workflow parameter to set.public List<String> getValue()
Sets the value for the named workflow parameter.
public void setValue(Collection<String> value)
Sets the value for the named workflow parameter.
value
- Sets the value for the named workflow parameter.public WorkflowParameter withValue(String... value)
Sets the value for the named workflow 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 workflow parameter.public WorkflowParameter withValue(Collection<String> value)
Sets the value for the named workflow parameter.
value
- Sets the value for the named workflow parameter.public String toString()
toString
in class Object
Object.toString()
public WorkflowParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.