Class GetAttributesRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpledb.model.GetAttributesRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
public class GetAttributesRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for GetAttributesRequest object.GetAttributesRequest(String domainName, String itemName) Constructs a new GetAttributesRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe names of the attributes.Determines whether or not strong consistency should be enforced when data is read from SimpleDB.The name of the domain in which to perform the operation.The name of the item.inthashCode()Determines whether or not strong consistency should be enforced when data is read from SimpleDB.voidsetAttributeNames(Collection<String> attributeNames) The names of the attributes.voidsetConsistentRead(Boolean consistentRead) Determines whether or not strong consistency should be enforced when data is read from SimpleDB.voidsetDomainName(String domainName) The name of the domain in which to perform the operation.voidsetItemName(String itemName) The name of the item.toString()Returns a string representation of this object; useful for testing and debugging.withAttributeNames(String... attributeNames) The names of the attributes.withAttributeNames(Collection<String> attributeNames) The names of the attributes.withConsistentRead(Boolean consistentRead) Determines whether or not strong consistency should be enforced when data is read from SimpleDB.withDomainName(String domainName) The name of the domain in which to perform the operation.withItemName(String itemName) The name of the item.Methods inherited from class 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 Details
-
GetAttributesRequest
public GetAttributesRequest()Default constructor for GetAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
GetAttributesRequest
Constructs a new GetAttributesRequest 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.
-
-
Method Details
-
setDomainName
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
The name of the domain in which to perform the operation.- Returns:
- The name of the domain in which to perform the operation.
-
withDomainName
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
The name of the item.- Parameters:
itemName- The name of the item.
-
getItemName
-
withItemName
The name of the item.- Parameters:
itemName- The name of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributeNames
-
setAttributeNames
The names of the attributes.- Parameters:
attributeNames- The names of the attributes.
-
withAttributeNames
The names of the attributes.NOTE: This method appends the values to the existing list (if any). Use
setAttributeNames(java.util.Collection)orwithAttributeNames(java.util.Collection)if you want to override the existing values.- Parameters:
attributeNames- The names of the attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributeNames
The names of the attributes.- Parameters:
attributeNames- The names of the attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue, 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.- Parameters:
consistentRead- Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue, 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.
-
getConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue, 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.- Returns:
- 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.
-
withConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue, 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.- Parameters:
consistentRead- Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue, 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.- Returns:
- 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.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-