@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateKeysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateKeysRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateKeysRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DeleteKeyRequestListItem> |
getDeletes()
List of keys to delete.
|
String |
getIfMatch()
The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using
DescribeKeyValueStore.
|
String |
getKvsARN()
The Amazon Resource Name (ARN) of the Key Value Store.
|
List<PutKeyRequestListItem> |
getPuts()
List of key value pairs to put.
|
int |
hashCode() |
void |
setDeletes(Collection<DeleteKeyRequestListItem> deletes)
List of keys to delete.
|
void |
setIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using
DescribeKeyValueStore.
|
void |
setKvsARN(String kvsARN)
The Amazon Resource Name (ARN) of the Key Value Store.
|
void |
setPuts(Collection<PutKeyRequestListItem> puts)
List of key value pairs to put.
|
String |
toString()
Returns a string representation of this object.
|
UpdateKeysRequest |
withDeletes(Collection<DeleteKeyRequestListItem> deletes)
List of keys to delete.
|
UpdateKeysRequest |
withDeletes(DeleteKeyRequestListItem... deletes)
List of keys to delete.
|
UpdateKeysRequest |
withIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using
DescribeKeyValueStore.
|
UpdateKeysRequest |
withKvsARN(String kvsARN)
The Amazon Resource Name (ARN) of the Key Value Store.
|
UpdateKeysRequest |
withPuts(Collection<PutKeyRequestListItem> puts)
List of key value pairs to put.
|
UpdateKeysRequest |
withPuts(PutKeyRequestListItem... puts)
List of key value pairs 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 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 UpdateKeysRequest 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 updating keys of, which you can get using DescribeKeyValueStore.
ifMatch
- The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using
DescribeKeyValueStore.public String getIfMatch()
The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using DescribeKeyValueStore.
public UpdateKeysRequest withIfMatch(String ifMatch)
The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using DescribeKeyValueStore.
ifMatch
- The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using
DescribeKeyValueStore.public List<PutKeyRequestListItem> getPuts()
List of key value pairs to put.
public void setPuts(Collection<PutKeyRequestListItem> puts)
List of key value pairs to put.
puts
- List of key value pairs to put.public UpdateKeysRequest withPuts(PutKeyRequestListItem... puts)
List of key value pairs to put.
NOTE: This method appends the values to the existing list (if any). Use
setPuts(java.util.Collection)
or withPuts(java.util.Collection)
if you want to override the
existing values.
puts
- List of key value pairs to put.public UpdateKeysRequest withPuts(Collection<PutKeyRequestListItem> puts)
List of key value pairs to put.
puts
- List of key value pairs to put.public List<DeleteKeyRequestListItem> getDeletes()
List of keys to delete.
public void setDeletes(Collection<DeleteKeyRequestListItem> deletes)
List of keys to delete.
deletes
- List of keys to delete.public UpdateKeysRequest withDeletes(DeleteKeyRequestListItem... deletes)
List of keys to delete.
NOTE: This method appends the values to the existing list (if any). Use
setDeletes(java.util.Collection)
or withDeletes(java.util.Collection)
if you want to override
the existing values.
deletes
- List of keys to delete.public UpdateKeysRequest withDeletes(Collection<DeleteKeyRequestListItem> deletes)
List of keys to delete.
deletes
- List of keys to delete.public String toString()
toString
in class Object
Object.toString()
public UpdateKeysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()