@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScriptParameterKeyValue extends Object implements Serializable, Cloneable, StructuredPojo
A parameter for a studio component script, in the form of a key-value pair.
Constructor and Description |
---|
ScriptParameterKeyValue() |
Modifier and Type | Method and Description |
---|---|
ScriptParameterKeyValue |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
A script parameter key.
|
String |
getValue()
A script parameter value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
A script parameter key.
|
void |
setValue(String value)
A script parameter value.
|
String |
toString()
Returns a string representation of this object.
|
ScriptParameterKeyValue |
withKey(String key)
A script parameter key.
|
ScriptParameterKeyValue |
withValue(String value)
A script parameter value.
|
public void setKey(String key)
A script parameter key.
key
- A script parameter key.public String getKey()
A script parameter key.
public ScriptParameterKeyValue withKey(String key)
A script parameter key.
key
- A script parameter key.public void setValue(String value)
A script parameter value.
value
- A script parameter value.public String getValue()
A script parameter value.
public ScriptParameterKeyValue withValue(String value)
A script parameter value.
value
- A script parameter value.public String toString()
toString
in class Object
Object.toString()
public ScriptParameterKeyValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.