Class DeleteAttributesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpledb.model.DeleteAttributesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteAttributesRequest()
Default constructor for DeleteAttributesRequest object.DeleteAttributesRequest(String domainName, String itemName)
Constructs a new DeleteAttributesRequest object.DeleteAttributesRequest(String domainName, String itemName, List<Attribute> attributes)
Constructs a new DeleteAttributesRequest object.DeleteAttributesRequest(String domainName, String itemName, List<Attribute> attributes, UpdateCondition expected)
Constructs a new DeleteAttributesRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteAttributesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<Attribute>
getAttributes()
A 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 deleted or not.String
getItemName()
The name of the item.int
hashCode()
void
setAttributes(Collection<Attribute> attributes)
A 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 deleted 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.DeleteAttributesRequest
withAttributes(Attribute... attributes)
A list of Attributes.DeleteAttributesRequest
withAttributes(Collection<Attribute> attributes)
A list of Attributes.DeleteAttributesRequest
withDomainName(String domainName)
The name of the domain in which to perform the operation.DeleteAttributesRequest
withExpected(UpdateCondition expected)
The update condition which, if specified, determines whether the specified attributes will be deleted or not.DeleteAttributesRequest
withItemName(String itemName)
The name of the item.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
DeleteAttributesRequest
public DeleteAttributesRequest()
Default constructor for DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
DeleteAttributesRequest
public DeleteAttributesRequest(String domainName, String itemName)
Constructs a new DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
domainName
- The name of the domain in which to perform the operation.itemName
- The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
-
DeleteAttributesRequest
public DeleteAttributesRequest(String domainName, String itemName, List<Attribute> attributes)
Constructs a new DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
domainName
- The name of the domain in which to perform the operation.itemName
- The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.attributes
- A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
-
DeleteAttributesRequest
public DeleteAttributesRequest(String domainName, String itemName, List<Attribute> attributes, UpdateCondition expected)
Constructs a new DeleteAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
domainName
- The name of the domain in which to perform the operation.itemName
- The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.attributes
- A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.expected
- The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
The name of the domain in which to perform the operation.- Parameters:
domainName
- The name of the domain in which to perform the operation.
-
getDomainName
public String getDomainName()
The name of the domain in which to perform the operation.- Returns:
- The name of the domain in which to perform the operation.
-
withDomainName
public DeleteAttributesRequest withDomainName(String domainName)
The name of the domain in which to perform the operation.- Parameters:
domainName
- The name of the domain in which to perform the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setItemName
public void setItemName(String itemName)
The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.- Parameters:
itemName
- The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
-
getItemName
public String getItemName()
The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.- Returns:
- The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.
-
withItemName
public DeleteAttributesRequest withItemName(String itemName)
The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.- Parameters:
itemName
- The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain one or more value-attribute pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
public List<Attribute> getAttributes()
A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.- Returns:
- A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
-
setAttributes
public void setAttributes(Collection<Attribute> attributes)
A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.- Parameters:
attributes
- A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.
-
withAttributes
public DeleteAttributesRequest withAttributes(Attribute... attributes)
A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
public DeleteAttributesRequest withAttributes(Collection<Attribute> attributes)
A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.- Parameters:
attributes
- A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be assigned to items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpected
public void setExpected(UpdateCondition expected)
The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.- Parameters:
expected
- The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.
-
getExpected
public UpdateCondition getExpected()
The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.- Returns:
- The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.
-
withExpected
public DeleteAttributesRequest withExpected(UpdateCondition expected)
The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.- Parameters:
expected
- The update condition which, if specified, determines whether the specified attributes will be deleted or not. The update condition must be satisfied in order for this request to be processed and the attributes to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteAttributesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-