@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAttributesRequest()
Default constructor for PutAttributesRequest object.
|
PutAttributesRequest(String domainName,
String itemName,
List<ReplaceableAttribute> attributes)
Constructs a new PutAttributesRequest object.
|
PutAttributesRequest(String domainName,
String itemName,
List<ReplaceableAttribute> attributes,
UpdateCondition expected)
Constructs a new PutAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
PutAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ReplaceableAttribute> |
getAttributes()
The list of attributes.
|
String |
getDomainName()
The name of the domain in which to perform the operation.
|
UpdateCondition |
getExpected()
The update condition which, if specified, determines whether the specified attributes will be updated or not.
|
String |
getItemName()
The name of the item.
|
int |
hashCode() |
void |
setAttributes(Collection<ReplaceableAttribute> attributes)
The list of attributes.
|
void |
setDomainName(String domainName)
The name of the domain in which to perform the operation.
|
void |
setExpected(UpdateCondition expected)
The update condition which, if specified, determines whether the specified attributes will be updated or not.
|
void |
setItemName(String itemName)
The name of the item.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutAttributesRequest |
withAttributes(Collection<ReplaceableAttribute> attributes)
The list of attributes.
|
PutAttributesRequest |
withAttributes(ReplaceableAttribute... attributes)
The list of attributes.
|
PutAttributesRequest |
withDomainName(String domainName)
The name of the domain in which to perform the operation.
|
PutAttributesRequest |
withExpected(UpdateCondition expected)
The update condition which, if specified, determines whether the specified attributes will be updated or not.
|
PutAttributesRequest |
withItemName(String itemName)
The name of the item.
|
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 PutAttributesRequest()
public PutAttributesRequest(String domainName, String itemName, List<ReplaceableAttribute> attributes)
domainName
- The name of the domain in which to perform the operation.itemName
- The name of the item.attributes
- The list of attributes.public PutAttributesRequest(String domainName, String itemName, List<ReplaceableAttribute> attributes, UpdateCondition expected)
domainName
- The name of the domain in which to perform the operation.itemName
- The name of the item.attributes
- The list of attributes.expected
- The update condition which, if specified, determines whether the specified attributes will be updated or
not. The update condition must be satisfied in order for this request to be processed and the attributes
to be updated.public void setDomainName(String domainName)
domainName
- The name of the domain in which to perform the operation.public String getDomainName()
public PutAttributesRequest withDomainName(String domainName)
domainName
- The name of the domain in which to perform the operation.public void setItemName(String itemName)
itemName
- The name of the item.public String getItemName()
public PutAttributesRequest withItemName(String itemName)
itemName
- The name of the item.public List<ReplaceableAttribute> getAttributes()
public void setAttributes(Collection<ReplaceableAttribute> attributes)
attributes
- The list of attributes.public PutAttributesRequest withAttributes(ReplaceableAttribute... attributes)
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The list of attributes.public PutAttributesRequest withAttributes(Collection<ReplaceableAttribute> attributes)
attributes
- The list of attributes.public void setExpected(UpdateCondition expected)
expected
- The update condition which, if specified, determines whether the specified attributes will be updated or
not. The update condition must be satisfied in order for this request to be processed and the attributes
to be updated.public UpdateCondition getExpected()
public PutAttributesRequest withExpected(UpdateCondition expected)
expected
- The update condition which, if specified, determines whether the specified attributes will be updated or
not. The update condition must be satisfied in order for this request to be processed and the attributes
to be updated.public String toString()
toString
in class Object
Object.toString()
public PutAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.