@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVocabularyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateVocabularyResult() |
Modifier and Type | Method and Description |
---|---|
CreateVocabularyResult |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The current state of the custom vocabulary.
|
String |
getVocabularyArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
|
String |
getVocabularyId()
The identifier of the custom vocabulary.
|
int |
hashCode() |
void |
setState(String state)
The current state of the custom vocabulary.
|
void |
setVocabularyArn(String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
void |
setVocabularyId(String vocabularyId)
The identifier of the custom vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
CreateVocabularyResult |
withState(String state)
The current state of the custom vocabulary.
|
CreateVocabularyResult |
withState(VocabularyState state)
The current state of the custom vocabulary.
|
CreateVocabularyResult |
withVocabularyArn(String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
|
CreateVocabularyResult |
withVocabularyId(String vocabularyId)
The identifier of the custom vocabulary.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVocabularyArn(String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
vocabularyArn
- The Amazon Resource Name (ARN) of the custom vocabulary.public String getVocabularyArn()
The Amazon Resource Name (ARN) of the custom vocabulary.
public CreateVocabularyResult withVocabularyArn(String vocabularyArn)
The Amazon Resource Name (ARN) of the custom vocabulary.
vocabularyArn
- The Amazon Resource Name (ARN) of the custom vocabulary.public void setVocabularyId(String vocabularyId)
The identifier of the custom vocabulary.
vocabularyId
- The identifier of the custom vocabulary.public String getVocabularyId()
The identifier of the custom vocabulary.
public CreateVocabularyResult withVocabularyId(String vocabularyId)
The identifier of the custom vocabulary.
vocabularyId
- The identifier of the custom vocabulary.public void setState(String state)
The current state of the custom vocabulary.
state
- The current state of the custom vocabulary.VocabularyState
public String getState()
The current state of the custom vocabulary.
VocabularyState
public CreateVocabularyResult withState(String state)
The current state of the custom vocabulary.
state
- The current state of the custom vocabulary.VocabularyState
public CreateVocabularyResult withState(VocabularyState state)
The current state of the custom vocabulary.
state
- The current state of the custom vocabulary.VocabularyState
public String toString()
toString
in class Object
Object.toString()
public CreateVocabularyResult clone()