public class DeleteCollectionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see delete-collection-procedure.
This operation requires permissions to perform the
rekognition:DeleteCollection
action.
Constructor and Description |
---|
DeleteCollectionRequest()
Default constructor for DeleteCollectionRequest object.
|
DeleteCollectionRequest(java.lang.String collectionId)
Constructs a new DeleteCollectionRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCollectionId()
ID of the collection to delete.
|
int |
hashCode() |
void |
setCollectionId(java.lang.String collectionId)
ID of the collection to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteCollectionRequest |
withCollectionId(java.lang.String collectionId)
ID of the collection to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteCollectionRequest()
public DeleteCollectionRequest(java.lang.String collectionId)
collectionId
- ID of the collection to delete.
public java.lang.String getCollectionId()
ID of the collection to delete.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
ID of the collection to delete.
public void setCollectionId(java.lang.String collectionId)
ID of the collection to delete.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
collectionId
- ID of the collection to delete.
public DeleteCollectionRequest withCollectionId(java.lang.String collectionId)
ID of the collection to delete.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
collectionId
- ID of the collection to delete.
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.