@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetAttributesRequest()
Default constructor for GetAttributesRequest object.
|
GetAttributesRequest(String domainName,
String itemName)
Constructs a new GetAttributesRequest object.
|
Modifier and Type | Method and Description |
---|---|
GetAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAttributeNames()
The names of the attributes.
|
Boolean |
getConsistentRead()
Determines whether or not strong consistency should be enforced when data is read from SimpleDB.
|
String |
getDomainName()
The name of the domain in which to perform the operation.
|
String |
getItemName()
The name of the item.
|
int |
hashCode() |
Boolean |
isConsistentRead()
Determines whether or not strong consistency should be enforced when data is read from SimpleDB.
|
void |
setAttributeNames(Collection<String> attributeNames)
The names of the attributes.
|
void |
setConsistentRead(Boolean consistentRead)
Determines whether or not strong consistency should be enforced when data is read from SimpleDB.
|
void |
setDomainName(String domainName)
The name of the domain in which to perform the operation.
|
void |
setItemName(String itemName)
The name of the item.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetAttributesRequest |
withAttributeNames(Collection<String> attributeNames)
The names of the attributes.
|
GetAttributesRequest |
withAttributeNames(String... attributeNames)
The names of the attributes.
|
GetAttributesRequest |
withConsistentRead(Boolean consistentRead)
Determines whether or not strong consistency should be enforced when data is read from SimpleDB.
|
GetAttributesRequest |
withDomainName(String domainName)
The name of the domain in which to perform the operation.
|
GetAttributesRequest |
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 GetAttributesRequest()
public GetAttributesRequest(String domainName, String itemName)
domainName
- The name of the domain in which to perform the operation.itemName
- The name of the item.public void setDomainName(String domainName)
domainName
- The name of the domain in which to perform the operation.public String getDomainName()
public GetAttributesRequest 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 GetAttributesRequest withItemName(String itemName)
itemName
- The name of the item.public List<String> getAttributeNames()
public void setAttributeNames(Collection<String> attributeNames)
attributeNames
- The names of the attributes.public GetAttributesRequest withAttributeNames(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(Collection<String> attributeNames)
attributeNames
- The names of the attributes.public void setConsistentRead(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public GetAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.