public class CreateCollectionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateCollectionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCollectionArn()
Amazon Resource Name (ARN) of the collection.
|
java.lang.String |
getFaceModelVersion()
Version number of the face detection model associated with the collection
you are creating.
|
java.lang.Integer |
getStatusCode()
HTTP status code indicating the result of the operation.
|
int |
hashCode() |
void |
setCollectionArn(java.lang.String collectionArn)
Amazon Resource Name (ARN) of the collection.
|
void |
setFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the collection
you are creating.
|
void |
setStatusCode(java.lang.Integer statusCode)
HTTP status code indicating the result of the operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCollectionResult |
withCollectionArn(java.lang.String collectionArn)
Amazon Resource Name (ARN) of the collection.
|
CreateCollectionResult |
withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the collection
you are creating.
|
CreateCollectionResult |
withStatusCode(java.lang.Integer statusCode)
HTTP status code indicating the result of the operation.
|
public java.lang.Integer getStatusCode()
HTTP status code indicating the result of the operation.
Constraints:
Range: 0 -
HTTP status code indicating the result of the operation.
public void setStatusCode(java.lang.Integer statusCode)
HTTP status code indicating the result of the operation.
Constraints:
Range: 0 -
statusCode
- HTTP status code indicating the result of the operation.
public CreateCollectionResult withStatusCode(java.lang.Integer statusCode)
HTTP status code indicating the result of the operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
statusCode
- HTTP status code indicating the result of the operation.
public java.lang.String getCollectionArn()
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
public void setCollectionArn(java.lang.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 CreateCollectionResult withCollectionArn(java.lang.String collectionArn)
Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
Returns a reference to this object so that method calls can be chained together.
collectionArn
- Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
public java.lang.String getFaceModelVersion()
Version number of the face detection model associated with the collection you are creating.
Version number of the face detection model associated with the collection you are creating.
public void setFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the collection you are creating.
faceModelVersion
- Version number of the face detection model associated with the collection you are creating.
public CreateCollectionResult withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the collection you are creating.
Returns a reference to this object so that method calls can be chained together.
faceModelVersion
- Version number of the face detection model associated with the collection you are creating.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.