@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A key value pair.
NOOP
Constructor and Description |
---|
PutKeyRequest() |
Modifier and Type | Method and Description |
---|---|
PutKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIfMatch()
The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using
DescribeKeyValueStore.
|
String |
getKey()
The key to put.
|
String |
getKvsARN()
The Amazon Resource Name (ARN) of the Key Value Store.
|
String |
getValue()
The value to put.
|
int |
hashCode() |
void |
setIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using
DescribeKeyValueStore.
|
void |
setKey(String key)
The key to put.
|
void |
setKvsARN(String kvsARN)
The Amazon Resource Name (ARN) of the Key Value Store.
|
void |
setValue(String value)
The value to put.
|
String |
toString()
Returns a string representation of this object.
|
PutKeyRequest |
withIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using
DescribeKeyValueStore.
|
PutKeyRequest |
withKey(String key)
The key to put.
|
PutKeyRequest |
withKvsARN(String kvsARN)
The Amazon Resource Name (ARN) of the Key Value Store.
|
PutKeyRequest |
withValue(String value)
The value to put.
|
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 setKey(String key)
The key to put.
key
- The key to put.public String getKey()
The key to put.
public PutKeyRequest withKey(String key)
The key to put.
key
- The key to put.public void setValue(String value)
The value to put.
value
- The value to put.public String getValue()
The value to put.
public PutKeyRequest withValue(String value)
The value to put.
value
- The value to put.public void setKvsARN(String kvsARN)
The Amazon Resource Name (ARN) of the Key Value Store.
kvsARN
- The Amazon Resource Name (ARN) of the Key Value Store.public String getKvsARN()
The Amazon Resource Name (ARN) of the Key Value Store.
public PutKeyRequest withKvsARN(String kvsARN)
The Amazon Resource Name (ARN) of the Key Value Store.
kvsARN
- The Amazon Resource Name (ARN) of the Key Value Store.public void setIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using DescribeKeyValueStore.
ifMatch
- The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using
DescribeKeyValueStore.public String getIfMatch()
The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using DescribeKeyValueStore.
public PutKeyRequest withIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using DescribeKeyValueStore.
ifMatch
- The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using
DescribeKeyValueStore.public String toString()
toString
in class Object
Object.toString()
public PutKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()