@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAgentAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAgentAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAgentAliasRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAgentAliasRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAgentAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAgentAliasName()
The name of the alias.
|
String |
getAgentId()
The unique identifier of the agent.
|
String |
getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getDescription()
A description of the alias of the agent.
|
List<AgentAliasRoutingConfigurationListItem> |
getRoutingConfiguration()
Contains details about the routing configuration of the alias.
|
Map<String,String> |
getTags()
Any tags that you want to attach to the alias of the agent.
|
int |
hashCode() |
void |
setAgentAliasName(String agentAliasName)
The name of the alias.
|
void |
setAgentId(String agentId)
The unique identifier of the agent.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setDescription(String description)
A description of the alias of the agent.
|
void |
setRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
|
void |
setTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the agent.
|
String |
toString()
Returns a string representation of this object.
|
CreateAgentAliasRequest |
withAgentAliasName(String agentAliasName)
The name of the alias.
|
CreateAgentAliasRequest |
withAgentId(String agentId)
The unique identifier of the agent.
|
CreateAgentAliasRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
CreateAgentAliasRequest |
withDescription(String description)
A description of the alias of the agent.
|
CreateAgentAliasRequest |
withRoutingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)
Contains details about the routing configuration of the alias.
|
CreateAgentAliasRequest |
withRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
|
CreateAgentAliasRequest |
withTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the agent.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAgentAliasName(String agentAliasName)
The name of the alias.
agentAliasName
- The name of the alias.public String getAgentAliasName()
The name of the alias.
public CreateAgentAliasRequest withAgentAliasName(String agentAliasName)
The name of the alias.
agentAliasName
- The name of the alias.public void setAgentId(String agentId)
The unique identifier of the agent.
agentId
- The unique identifier of the agent.public String getAgentId()
The unique identifier of the agent.
public CreateAgentAliasRequest withAgentId(String agentId)
The unique identifier of the agent.
agentId
- The unique identifier of the agent.public void setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public CreateAgentAliasRequest withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public void setDescription(String description)
A description of the alias of the agent.
description
- A description of the alias of the agent.public String getDescription()
A description of the alias of the agent.
public CreateAgentAliasRequest withDescription(String description)
A description of the alias of the agent.
description
- A description of the alias of the agent.public List<AgentAliasRoutingConfigurationListItem> getRoutingConfiguration()
Contains details about the routing configuration of the alias.
public void setRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
routingConfiguration
- Contains details about the routing configuration of the alias.public CreateAgentAliasRequest withRoutingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)
Contains details about the routing configuration of the alias.
NOTE: This method appends the values to the existing list (if any). Use
setRoutingConfiguration(java.util.Collection)
or withRoutingConfiguration(java.util.Collection)
if you want to override the existing values.
routingConfiguration
- Contains details about the routing configuration of the alias.public CreateAgentAliasRequest withRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
routingConfiguration
- Contains details about the routing configuration of the alias.public Map<String,String> getTags()
Any tags that you want to attach to the alias of the agent.
public void setTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the agent.
tags
- Any tags that you want to attach to the alias of the agent.public CreateAgentAliasRequest withTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the agent.
tags
- Any tags that you want to attach to the alias of the agent.public CreateAgentAliasRequest addTagsEntry(String key, String value)
public CreateAgentAliasRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAgentAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()