@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutParameterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutParameterRequest() |
Modifier and Type | Method and Description |
---|---|
PutParameterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAllowedPattern()
A regular expression used to validate the parameter value.
|
String |
getDescription()
Information about the parameter that you want to add to the system
|
String |
getKeyId()
The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type.
|
String |
getName()
The name of the parameter that you want to add to the system.
|
Boolean |
getOverwrite()
Overwrite an existing parameter.
|
String |
getType()
The type of parameter that you want to add to the system.
|
String |
getValue()
The parameter value that you want to add to the system.
|
int |
hashCode() |
Boolean |
isOverwrite()
Overwrite an existing parameter.
|
void |
setAllowedPattern(String allowedPattern)
A regular expression used to validate the parameter value.
|
void |
setDescription(String description)
Information about the parameter that you want to add to the system
|
void |
setKeyId(String keyId)
The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type.
|
void |
setName(String name)
The name of the parameter that you want to add to the system.
|
void |
setOverwrite(Boolean overwrite)
Overwrite an existing parameter.
|
void |
setType(ParameterType type)
The type of parameter that you want to add to the system.
|
void |
setType(String type)
The type of parameter that you want to add to the system.
|
void |
setValue(String value)
The parameter value that you want to add to the system.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutParameterRequest |
withAllowedPattern(String allowedPattern)
A regular expression used to validate the parameter value.
|
PutParameterRequest |
withDescription(String description)
Information about the parameter that you want to add to the system
|
PutParameterRequest |
withKeyId(String keyId)
The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type.
|
PutParameterRequest |
withName(String name)
The name of the parameter that you want to add to the system.
|
PutParameterRequest |
withOverwrite(Boolean overwrite)
Overwrite an existing parameter.
|
PutParameterRequest |
withType(ParameterType type)
The type of parameter that you want to add to the system.
|
PutParameterRequest |
withType(String type)
The type of parameter that you want to add to the system.
|
PutParameterRequest |
withValue(String value)
The parameter value that you want to add to the system.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the parameter that you want to add to the system.
name
- The name of the parameter that you want to add to the system.public String getName()
The name of the parameter that you want to add to the system.
public PutParameterRequest withName(String name)
The name of the parameter that you want to add to the system.
name
- The name of the parameter that you want to add to the system.public void setDescription(String description)
Information about the parameter that you want to add to the system
description
- Information about the parameter that you want to add to the systempublic String getDescription()
Information about the parameter that you want to add to the system
public PutParameterRequest withDescription(String description)
Information about the parameter that you want to add to the system
description
- Information about the parameter that you want to add to the systempublic void setValue(String value)
The parameter value that you want to add to the system.
value
- The parameter value that you want to add to the system.public String getValue()
The parameter value that you want to add to the system.
public PutParameterRequest withValue(String value)
The parameter value that you want to add to the system.
value
- The parameter value that you want to add to the system.public void setType(String type)
The type of parameter that you want to add to the system.
type
- The type of parameter that you want to add to the system.ParameterType
public String getType()
The type of parameter that you want to add to the system.
ParameterType
public PutParameterRequest withType(String type)
The type of parameter that you want to add to the system.
type
- The type of parameter that you want to add to the system.ParameterType
public void setType(ParameterType type)
The type of parameter that you want to add to the system.
type
- The type of parameter that you want to add to the system.ParameterType
public PutParameterRequest withType(ParameterType type)
The type of parameter that you want to add to the system.
type
- The type of parameter that you want to add to the system.ParameterType
public void setKeyId(String keyId)
The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your AWS account.
keyId
- The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If
you don't specify a key ID, the system uses the default key associated with your AWS account.public String getKeyId()
The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your AWS account.
public PutParameterRequest withKeyId(String keyId)
The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your AWS account.
keyId
- The KMS Key ID that you want to use to encrypt a parameter when you choose the SecureString data type. If
you don't specify a key ID, the system uses the default key associated with your AWS account.public void setOverwrite(Boolean overwrite)
Overwrite an existing parameter. If not specified, will default to "false".
overwrite
- Overwrite an existing parameter. If not specified, will default to "false".public Boolean getOverwrite()
Overwrite an existing parameter. If not specified, will default to "false".
public PutParameterRequest withOverwrite(Boolean overwrite)
Overwrite an existing parameter. If not specified, will default to "false".
overwrite
- Overwrite an existing parameter. If not specified, will default to "false".public Boolean isOverwrite()
Overwrite an existing parameter. If not specified, will default to "false".
public void setAllowedPattern(String allowedPattern)
A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$
allowedPattern
- A regular expression used to validate the parameter value. For example, for String types with values
restricted to numbers, you can specify the following: AllowedPattern=^\d+$public String getAllowedPattern()
A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$
public PutParameterRequest withAllowedPattern(String allowedPattern)
A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$
allowedPattern
- A regular expression used to validate the parameter value. For example, for String types with values
restricted to numbers, you can specify the following: AllowedPattern=^\d+$public String toString()
toString
in class Object
Object.toString()
public PutParameterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.