@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCollectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateCollectionResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateCollectionResult |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionArn()
Amazon Resource Name (ARN) of the collection.
|
Integer |
getStatusCode()
HTTP status code indicating the result of the operation.
|
int |
hashCode() |
void |
setCollectionArn(String collectionArn)
Amazon Resource Name (ARN) of the collection.
|
void |
setStatusCode(Integer statusCode)
HTTP status code indicating the result of the operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateCollectionResult |
withCollectionArn(String collectionArn)
Amazon Resource Name (ARN) of the collection.
|
CreateCollectionResult |
withStatusCode(Integer statusCode)
HTTP status code indicating the result of the operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setStatusCode(Integer statusCode)
HTTP status code indicating the result of the operation.
statusCode - HTTP status code indicating the result of the operation.public Integer getStatusCode()
HTTP status code indicating the result of the operation.
public CreateCollectionResult withStatusCode(Integer statusCode)
HTTP status code indicating the result of the operation.
statusCode - HTTP status code indicating the result of the operation.public void setCollectionArn(String collectionArn)
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
collectionArn - Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.public String getCollectionArn()
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
public CreateCollectionResult withCollectionArn(String collectionArn)
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
collectionArn - Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.public String toString()
toString in class ObjectObject.toString()public CreateCollectionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.