@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachToIndexRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AttachToIndexRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachToIndexRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryArn()
The ARN of the directory where the object and index exist.
|
ObjectReference |
getIndexReference()
A reference to the index that you are attaching the object to.
|
ObjectReference |
getTargetReference()
A reference to the object that you are attaching to the index.
|
int |
hashCode() |
void |
setDirectoryArn(String directoryArn)
The ARN of the directory where the object and index exist.
|
void |
setIndexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
|
void |
setTargetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachToIndexRequest |
withDirectoryArn(String directoryArn)
The ARN of the directory where the object and index exist.
|
AttachToIndexRequest |
withIndexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
|
AttachToIndexRequest |
withTargetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryArn(String directoryArn)
The ARN of the directory where the object and index exist.
directoryArn - The ARN of the directory where the object and index exist.public String getDirectoryArn()
The ARN of the directory where the object and index exist.
public AttachToIndexRequest withDirectoryArn(String directoryArn)
The ARN of the directory where the object and index exist.
directoryArn - The ARN of the directory where the object and index exist.public void setIndexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
indexReference - A reference to the index that you are attaching the object to.public ObjectReference getIndexReference()
A reference to the index that you are attaching the object to.
public AttachToIndexRequest withIndexReference(ObjectReference indexReference)
A reference to the index that you are attaching the object to.
indexReference - A reference to the index that you are attaching the object to.public void setTargetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
targetReference - A reference to the object that you are attaching to the index.public ObjectReference getTargetReference()
A reference to the object that you are attaching to the index.
public AttachToIndexRequest withTargetReference(ObjectReference targetReference)
A reference to the object that you are attaching to the index.
targetReference - A reference to the object that you are attaching to the index.public String toString()
toString in class ObjectObject.toString()public AttachToIndexRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.