@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProvisioningParameter extends Object implements Serializable, Cloneable, StructuredPojo
The parameter key-value pair used to update a provisioned product.
Constructor and Description |
---|
UpdateProvisioningParameter() |
Modifier and Type | Method and Description |
---|---|
UpdateProvisioningParameter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The parameter key.
|
Boolean |
getUsePreviousValue()
If set to true,
Value is ignored and the previous parameter value is kept. |
String |
getValue()
The parameter value.
|
int |
hashCode() |
Boolean |
isUsePreviousValue()
If set to true,
Value is ignored and the previous parameter value is kept. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The parameter key.
|
void |
setUsePreviousValue(Boolean usePreviousValue)
If set to true,
Value is ignored and the previous parameter value is kept. |
void |
setValue(String value)
The parameter value.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProvisioningParameter |
withKey(String key)
The parameter key.
|
UpdateProvisioningParameter |
withUsePreviousValue(Boolean usePreviousValue)
If set to true,
Value is ignored and the previous parameter value is kept. |
UpdateProvisioningParameter |
withValue(String value)
The parameter value.
|
public void setKey(String key)
The parameter key.
key
- The parameter key.public String getKey()
The parameter key.
public UpdateProvisioningParameter withKey(String key)
The parameter key.
key
- The parameter key.public void setValue(String value)
The parameter value.
value
- The parameter value.public String getValue()
The parameter value.
public UpdateProvisioningParameter withValue(String value)
The parameter value.
value
- The parameter value.public void setUsePreviousValue(Boolean usePreviousValue)
If set to true, Value
is ignored and the previous parameter value is kept.
usePreviousValue
- If set to true, Value
is ignored and the previous parameter value is kept.public Boolean getUsePreviousValue()
If set to true, Value
is ignored and the previous parameter value is kept.
Value
is ignored and the previous parameter value is kept.public UpdateProvisioningParameter withUsePreviousValue(Boolean usePreviousValue)
If set to true, Value
is ignored and the previous parameter value is kept.
usePreviousValue
- If set to true, Value
is ignored and the previous parameter value is kept.public Boolean isUsePreviousValue()
If set to true, Value
is ignored and the previous parameter value is kept.
Value
is ignored and the previous parameter value is kept.public String toString()
toString
in class Object
Object.toString()
public UpdateProvisioningParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.