public class GetAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
attributeNames
The names of the attributes.
|
private java.lang.Boolean |
consistentRead
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
private java.lang.String |
domainName
The name of the domain in which to perform the operation.
|
private java.lang.String |
itemName
The name of the item.
|
NOOP
Constructor and Description |
---|
GetAttributesRequest()
Default constructor for GetAttributesRequest object.
|
GetAttributesRequest(java.lang.String domainName,
java.lang.String itemName)
Constructs a new GetAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
GetAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAttributeNames()
The names of the attributes.
|
java.lang.Boolean |
getConsistentRead()
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
java.lang.String |
getDomainName()
The name of the domain in which to perform the operation.
|
java.lang.String |
getItemName()
The name of the item.
|
int |
hashCode() |
java.lang.Boolean |
isConsistentRead()
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
void |
setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
The names of the attributes.
|
void |
setConsistentRead(java.lang.Boolean consistentRead)
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
void |
setDomainName(java.lang.String domainName)
The name of the domain in which to perform the operation.
|
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.
|
GetAttributesRequest |
withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
The names of the attributes.
|
GetAttributesRequest |
withAttributeNames(java.lang.String... attributeNames)
The names of the attributes.
|
GetAttributesRequest |
withConsistentRead(java.lang.Boolean consistentRead)
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
GetAttributesRequest |
withDomainName(java.lang.String domainName)
The name of the domain in which to perform the operation.
|
GetAttributesRequest |
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<java.lang.String> attributeNames
private java.lang.Boolean consistentRead
true
, any data previously written
to SimpleDB will be returned. Otherwise, results will be consistent
eventually, and the client may not see data that was written immediately
before your read.public GetAttributesRequest()
public GetAttributesRequest(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.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 GetAttributesRequest 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.public java.lang.String getItemName()
public GetAttributesRequest withItemName(java.lang.String itemName)
itemName
- The name of the item.public java.util.List<java.lang.String> getAttributeNames()
public void setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
attributeNames
- The names of the attributes.public GetAttributesRequest withAttributeNames(java.lang.String... attributeNames)
NOTE: This method appends the values to the existing list (if
any). Use setAttributeNames(java.util.Collection)
or
withAttributeNames(java.util.Collection)
if you want to override
the existing values.
attributeNames
- The names of the attributes.public GetAttributesRequest withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
attributeNames
- The names of the attributes.public void setConsistentRead(java.lang.Boolean consistentRead)
true
, any data previously written
to SimpleDB will be returned. Otherwise, results will be consistent
eventually, and the client may not see data that was written immediately
before your read.consistentRead
- Determines whether or not strong consistency should be enforced
when data is read from SimpleDB. If true
, any data
previously written to SimpleDB will be returned. Otherwise,
results will be consistent eventually, and the client may not see
data that was written immediately before your read.public java.lang.Boolean getConsistentRead()
true
, any data previously written
to SimpleDB will be returned. Otherwise, results will be consistent
eventually, and the client may not see data that was written immediately
before your read.true
, any data
previously written to SimpleDB will be returned. Otherwise,
results will be consistent eventually, and the client may not see
data that was written immediately before your read.public GetAttributesRequest withConsistentRead(java.lang.Boolean consistentRead)
true
, any data previously written
to SimpleDB will be returned. Otherwise, results will be consistent
eventually, and the client may not see data that was written immediately
before your read.consistentRead
- Determines whether or not strong consistency should be enforced
when data is read from SimpleDB. If true
, any data
previously written to SimpleDB will be returned. Otherwise,
results will be consistent eventually, and the client may not see
data that was written immediately before your read.public java.lang.Boolean isConsistentRead()
true
, any data previously written
to SimpleDB will be returned. Otherwise, results will be consistent
eventually, and the client may not see data that was written immediately
before your read.true
, any data
previously written to SimpleDB will be returned. Otherwise,
results will be consistent eventually, and the client may not see
data that was written immediately before your read.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 GetAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()