@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchReadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchReadRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchReadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConsistencyLevel()
Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.
|
String |
getDirectoryArn()
The Amazon Resource Name (ARN) that is associated with the Directory.
|
List<BatchReadOperation> |
getOperations()
A list of operations that are part of the batch.
|
int |
hashCode() |
void |
setConsistencyLevel(ConsistencyLevel consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.
|
void |
setConsistencyLevel(String consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.
|
void |
setDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory.
|
void |
setOperations(Collection<BatchReadOperation> operations)
A list of operations that are part of the batch.
|
String |
toString()
Returns a string representation of this object.
|
BatchReadRequest |
withConsistencyLevel(ConsistencyLevel consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.
|
BatchReadRequest |
withConsistencyLevel(String consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.
|
BatchReadRequest |
withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory.
|
BatchReadRequest |
withOperations(BatchReadOperation... operations)
A list of operations that are part of the batch.
|
BatchReadRequest |
withOperations(Collection<BatchReadOperation> operations)
A list of operations that are part of the batch.
|
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, withSdkRequestTimeoutpublic void setDirectoryArn(String directoryArn)
public String getDirectoryArn()
public BatchReadRequest withDirectoryArn(String directoryArn)
public List<BatchReadOperation> getOperations()
A list of operations that are part of the batch.
public void setOperations(Collection<BatchReadOperation> operations)
A list of operations that are part of the batch.
operations - A list of operations that are part of the batch.public BatchReadRequest withOperations(BatchReadOperation... operations)
A list of operations that are part of the batch.
NOTE: This method appends the values to the existing list (if any). Use
setOperations(java.util.Collection) or withOperations(java.util.Collection) if you want to
override the existing values.
operations - A list of operations that are part of the batch.public BatchReadRequest withOperations(Collection<BatchReadOperation> operations)
A list of operations that are part of the batch.
operations - A list of operations that are part of the batch.public void setConsistencyLevel(String consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
consistencyLevel - Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.ConsistencyLevelpublic String getConsistencyLevel()
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
ConsistencyLevelpublic BatchReadRequest withConsistencyLevel(String consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
consistencyLevel - Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.ConsistencyLevelpublic void setConsistencyLevel(ConsistencyLevel consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
consistencyLevel - Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.ConsistencyLevelpublic BatchReadRequest withConsistencyLevel(ConsistencyLevel consistencyLevel)
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
consistencyLevel - Represents the manner and timing in which the successful write or update of an object is reflected in a
subsequent read operation of that same object.ConsistencyLevelpublic String toString()
toString in class ObjectObject.toString()public BatchReadRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()