@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssistantData extends Object implements Serializable, Cloneable, StructuredPojo
The assistant data.
Constructor and Description |
---|
AssistantData() |
Modifier and Type | Method and Description |
---|---|
AssistantData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AssistantData |
clearTagsEntries()
Removes all the entries added into Tags.
|
AssistantData |
clone() |
boolean |
equals(Object obj) |
String |
getAssistantArn()
The Amazon Resource Name (ARN) of the Wisdom assistant
|
String |
getAssistantId()
The identifier of the Wisdom assistant.
|
String |
getDescription()
The description.
|
String |
getName()
The name.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The KMS key used for encryption.
|
String |
getStatus()
The status of the assistant.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getType()
The type of assistant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant
|
void |
setAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
void |
setDescription(String description)
The description.
|
void |
setName(String name)
The name.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The KMS key used for encryption.
|
void |
setStatus(String status)
The status of the assistant.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setType(String type)
The type of assistant.
|
String |
toString()
Returns a string representation of this object.
|
AssistantData |
withAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant
|
AssistantData |
withAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
AssistantData |
withDescription(String description)
The description.
|
AssistantData |
withName(String name)
The name.
|
AssistantData |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The KMS key used for encryption.
|
AssistantData |
withStatus(AssistantStatus status)
The status of the assistant.
|
AssistantData |
withStatus(String status)
The status of the assistant.
|
AssistantData |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
AssistantData |
withType(AssistantType type)
The type of assistant.
|
AssistantData |
withType(String type)
The type of assistant.
|
public void setAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant
assistantArn
- The Amazon Resource Name (ARN) of the Wisdom assistantpublic String getAssistantArn()
The Amazon Resource Name (ARN) of the Wisdom assistant
public AssistantData withAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant
assistantArn
- The Amazon Resource Name (ARN) of the Wisdom assistantpublic void setAssistantId(String assistantId)
The identifier of the Wisdom assistant.
assistantId
- The identifier of the Wisdom assistant.public String getAssistantId()
The identifier of the Wisdom assistant.
public AssistantData withAssistantId(String assistantId)
The identifier of the Wisdom assistant.
assistantId
- The identifier of the Wisdom assistant.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public AssistantData withDescription(String description)
The description.
description
- The description.public void setName(String name)
The name.
name
- The name.public String getName()
The name.
public AssistantData withName(String name)
The name.
name
- The name.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The KMS key used for encryption.
serverSideEncryptionConfiguration
- The KMS key used for encryption.public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The KMS key used for encryption.
public AssistantData withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The KMS key used for encryption.
serverSideEncryptionConfiguration
- The KMS key used for encryption.public void setStatus(String status)
The status of the assistant.
status
- The status of the assistant.AssistantStatus
public String getStatus()
The status of the assistant.
AssistantStatus
public AssistantData withStatus(String status)
The status of the assistant.
status
- The status of the assistant.AssistantStatus
public AssistantData withStatus(AssistantStatus status)
The status of the assistant.
status
- The status of the assistant.AssistantStatus
public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public AssistantData withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public AssistantData addTagsEntry(String key, String value)
public AssistantData clearTagsEntries()
public void setType(String type)
The type of assistant.
type
- The type of assistant.AssistantType
public String getType()
The type of assistant.
AssistantType
public AssistantData withType(String type)
The type of assistant.
type
- The type of assistant.AssistantType
public AssistantData withType(AssistantType type)
The type of assistant.
type
- The type of assistant.AssistantType
public String toString()
toString
in class Object
Object.toString()
public AssistantData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.