@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.
|
String |
getFaceModelVersion()
Latest face model being used with 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 |
setFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection.
|
void |
setStatusCode(Integer statusCode)
HTTP status code indicating the result of the operation.
|
String |
toString()
Returns a string representation of this object.
|
CreateCollectionResult |
withCollectionArn(String collectionArn)
Amazon Resource Name (ARN) of the collection.
|
CreateCollectionResult |
withFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection.
|
CreateCollectionResult |
withStatusCode(Integer statusCode)
HTTP status code indicating the result of the operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 void setFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection. For more information, see Model versioning.
faceModelVersion
- Latest face model being used with the collection. For more information, see Model versioning.public String getFaceModelVersion()
Latest face model being used with the collection. For more information, see Model versioning.
public CreateCollectionResult withFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection. For more information, see Model versioning.
faceModelVersion
- Latest face model being used with the collection. For more information, see Model versioning.public String toString()
toString
in class Object
Object.toString()
public CreateCollectionResult clone()