public class DeleteAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Attribute> |
attributes
A list of Attributes.
|
private java.lang.String |
domainName
The name of the domain in which to perform the operation.
|
private UpdateCondition |
expected
The update condition which, if specified, determines whether the
specified attributes will be deleted or not.
|
private java.lang.String |
itemName
The name of the item.
|
NOOP
Constructor and Description |
---|
DeleteAttributesRequest()
Default constructor for DeleteAttributesRequest object.
|
DeleteAttributesRequest(java.lang.String domainName,
java.lang.String itemName)
Constructs a new DeleteAttributesRequest object.
|
DeleteAttributesRequest(java.lang.String domainName,
java.lang.String itemName,
java.util.List<Attribute> attributes)
Constructs a new DeleteAttributesRequest object.
|
DeleteAttributesRequest(java.lang.String domainName,
java.lang.String itemName,
java.util.List<Attribute> attributes,
UpdateCondition expected)
Constructs a new DeleteAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Attribute> |
getAttributes()
A list of Attributes.
|
java.lang.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.
|
java.lang.String |
getItemName()
The name of the item.
|
int |
hashCode() |
void |
setAttributes(java.util.Collection<Attribute> attributes)
A list of Attributes.
|
void |
setDomainName(java.lang.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(java.lang.String itemName)
The name of the item.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteAttributesRequest |
withAttributes(Attribute... attributes)
A list of Attributes.
|
DeleteAttributesRequest |
withAttributes(java.util.Collection<Attribute> attributes)
A list of Attributes.
|
DeleteAttributesRequest |
withDomainName(java.lang.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(java.lang.String itemName)
The name of the item.
|
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
private java.lang.String domainName
private java.lang.String itemName
private SdkInternalList<Attribute> attributes
private UpdateCondition expected
public DeleteAttributesRequest()
public DeleteAttributesRequest(java.lang.String domainName, java.lang.String itemName)
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.public DeleteAttributesRequest(java.lang.String domainName, java.lang.String itemName, java.util.List<Attribute> attributes)
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.public DeleteAttributesRequest(java.lang.String domainName, java.lang.String itemName, java.util.List<Attribute> attributes, UpdateCondition expected)
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.public void setDomainName(java.lang.String domainName)
domainName
- The name of the domain in which to perform the operation.public java.lang.String getDomainName()
public DeleteAttributesRequest withDomainName(java.lang.String domainName)
domainName
- The name of the domain in which to perform the operation.public void setItemName(java.lang.String itemName)
itemName
- The name of the item. Similar to rows on a spreadsheet, items
represent individual objects that contain one or more
value-attribute pairs.public java.lang.String getItemName()
public DeleteAttributesRequest withItemName(java.lang.String itemName)
itemName
- The name of the item. Similar to rows on a spreadsheet, items
represent individual objects that contain one or more
value-attribute pairs.public java.util.List<Attribute> getAttributes()
public void setAttributes(java.util.Collection<Attribute> attributes)
attributes
- A list of Attributes. Similar to columns on a spreadsheet,
attributes represent categories of data that can be assigned to
items.public DeleteAttributesRequest withAttributes(Attribute... 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
- A list of Attributes. Similar to columns on a spreadsheet,
attributes represent categories of data that can be assigned to
items.public DeleteAttributesRequest withAttributes(java.util.Collection<Attribute> attributes)
attributes
- A list of Attributes. Similar to columns on a spreadsheet,
attributes represent categories of data that can be assigned to
items.public void setExpected(UpdateCondition expected)
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.public UpdateCondition getExpected()
public DeleteAttributesRequest withExpected(UpdateCondition expected)
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()