public class DeleteVocabularyResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DeleteVocabularyResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getState()
The current state of the custom vocabulary.
|
java.lang.String |
getVocabularyArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
|
java.lang.String |
getVocabularyId()
The identifier of the custom vocabulary.
|
int |
hashCode() |
void |
setState(java.lang.String state)
The current state of the custom vocabulary.
|
void |
setState(VocabularyState state)
The current state of the custom vocabulary.
|
void |
setVocabularyArn(java.lang.String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
void |
setVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVocabularyResult |
withState(java.lang.String state)
The current state of the custom vocabulary.
|
DeleteVocabularyResult |
withState(VocabularyState state)
The current state of the custom vocabulary.
|
DeleteVocabularyResult |
withVocabularyArn(java.lang.String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
DeleteVocabularyResult |
withVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
|
public java.lang.String getVocabularyArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
The Amazon Resource Name (ARN) of the custom vocabulary.
public void setVocabularyArn(java.lang.String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
vocabularyArn - The Amazon Resource Name (ARN) of the custom vocabulary.
public DeleteVocabularyResult withVocabularyArn(java.lang.String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
vocabularyArn - The Amazon Resource Name (ARN) of the custom vocabulary.
public java.lang.String getVocabularyId()
The identifier of the custom vocabulary.
Constraints:
Length: 1 - 500
The identifier of the custom vocabulary.
public void setVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
Constraints:
Length: 1 - 500
vocabularyId - The identifier of the custom vocabulary.
public DeleteVocabularyResult withVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
vocabularyId - The identifier of the custom vocabulary.
public java.lang.String getState()
The current state of the custom vocabulary.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
The current state of the custom vocabulary.
VocabularyStatepublic void setState(java.lang.String state)
The current state of the custom vocabulary.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic DeleteVocabularyResult withState(java.lang.String state)
The current state of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic void setState(VocabularyState state)
The current state of the custom vocabulary.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic DeleteVocabularyResult withState(VocabularyState state)
The current state of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object