@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentAlias extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an alias of an agent.
Constructor and Description |
---|
AgentAlias() |
Modifier and Type | Method and Description |
---|---|
AgentAlias |
clone() |
boolean |
equals(Object obj) |
String |
getAgentAliasArn()
The Amazon Resource Name (ARN) of the alias of the agent.
|
List<AgentAliasHistoryEvent> |
getAgentAliasHistoryEvents()
Contains details about the history of the alias.
|
String |
getAgentAliasId()
The unique identifier of the alias of the agent.
|
String |
getAgentAliasName()
The name of the alias of the agent.
|
String |
getAgentAliasStatus()
The status of the alias of the agent and whether it is ready for use.
|
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.
|
Date |
getCreatedAt()
The time at which the alias of the agent was created.
|
String |
getDescription()
The description of the alias of the agent.
|
List<String> |
getFailureReasons()
Information on the failure of Provisioned Throughput assigned to an agent alias.
|
List<AgentAliasRoutingConfigurationListItem> |
getRoutingConfiguration()
Contains details about the routing configuration of the alias.
|
Date |
getUpdatedAt()
The time at which the alias was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentAliasArn(String agentAliasArn)
The Amazon Resource Name (ARN) of the alias of the agent.
|
void |
setAgentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents)
Contains details about the history of the alias.
|
void |
setAgentAliasId(String agentAliasId)
The unique identifier of the alias of the agent.
|
void |
setAgentAliasName(String agentAliasName)
The name of the alias of the agent.
|
void |
setAgentAliasStatus(String agentAliasStatus)
The status of the alias of the agent and whether it is ready for use.
|
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 |
setCreatedAt(Date createdAt)
The time at which the alias of the agent was created.
|
void |
setDescription(String description)
The description of the alias of the agent.
|
void |
setFailureReasons(Collection<String> failureReasons)
Information on the failure of Provisioned Throughput assigned to an agent alias.
|
void |
setRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the alias was last updated.
|
String |
toString()
Returns a string representation of this object.
|
AgentAlias |
withAgentAliasArn(String agentAliasArn)
The Amazon Resource Name (ARN) of the alias of the agent.
|
AgentAlias |
withAgentAliasHistoryEvents(AgentAliasHistoryEvent... agentAliasHistoryEvents)
Contains details about the history of the alias.
|
AgentAlias |
withAgentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents)
Contains details about the history of the alias.
|
AgentAlias |
withAgentAliasId(String agentAliasId)
The unique identifier of the alias of the agent.
|
AgentAlias |
withAgentAliasName(String agentAliasName)
The name of the alias of the agent.
|
AgentAlias |
withAgentAliasStatus(AgentAliasStatus agentAliasStatus)
The status of the alias of the agent and whether it is ready for use.
|
AgentAlias |
withAgentAliasStatus(String agentAliasStatus)
The status of the alias of the agent and whether it is ready for use.
|
AgentAlias |
withAgentId(String agentId)
The unique identifier of the agent.
|
AgentAlias |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
AgentAlias |
withCreatedAt(Date createdAt)
The time at which the alias of the agent was created.
|
AgentAlias |
withDescription(String description)
The description of the alias of the agent.
|
AgentAlias |
withFailureReasons(Collection<String> failureReasons)
Information on the failure of Provisioned Throughput assigned to an agent alias.
|
AgentAlias |
withFailureReasons(String... failureReasons)
Information on the failure of Provisioned Throughput assigned to an agent alias.
|
AgentAlias |
withRoutingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)
Contains details about the routing configuration of the alias.
|
AgentAlias |
withRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
|
AgentAlias |
withUpdatedAt(Date updatedAt)
The time at which the alias was last updated.
|
public void setAgentAliasArn(String agentAliasArn)
The Amazon Resource Name (ARN) of the alias of the agent.
agentAliasArn
- The Amazon Resource Name (ARN) of the alias of the agent.public String getAgentAliasArn()
The Amazon Resource Name (ARN) of the alias of the agent.
public AgentAlias withAgentAliasArn(String agentAliasArn)
The Amazon Resource Name (ARN) of the alias of the agent.
agentAliasArn
- The Amazon Resource Name (ARN) of the alias of the agent.public List<AgentAliasHistoryEvent> getAgentAliasHistoryEvents()
Contains details about the history of the alias.
public void setAgentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents)
Contains details about the history of the alias.
agentAliasHistoryEvents
- Contains details about the history of the alias.public AgentAlias withAgentAliasHistoryEvents(AgentAliasHistoryEvent... agentAliasHistoryEvents)
Contains details about the history of the alias.
NOTE: This method appends the values to the existing list (if any). Use
setAgentAliasHistoryEvents(java.util.Collection)
or
withAgentAliasHistoryEvents(java.util.Collection)
if you want to override the existing values.
agentAliasHistoryEvents
- Contains details about the history of the alias.public AgentAlias withAgentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents)
Contains details about the history of the alias.
agentAliasHistoryEvents
- Contains details about the history of the alias.public void setAgentAliasId(String agentAliasId)
The unique identifier of the alias of the agent.
agentAliasId
- The unique identifier of the alias of the agent.public String getAgentAliasId()
The unique identifier of the alias of the agent.
public AgentAlias withAgentAliasId(String agentAliasId)
The unique identifier of the alias of the agent.
agentAliasId
- The unique identifier of the alias of the agent.public void setAgentAliasName(String agentAliasName)
The name of the alias of the agent.
agentAliasName
- The name of the alias of the agent.public String getAgentAliasName()
The name of the alias of the agent.
public AgentAlias withAgentAliasName(String agentAliasName)
The name of the alias of the agent.
agentAliasName
- The name of the alias of the agent.public void setAgentAliasStatus(String agentAliasStatus)
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
agentAliasStatus
- The status of the alias of the agent and whether it is ready for use. The following statuses are
possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
AgentAliasStatus
public String getAgentAliasStatus()
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
AgentAliasStatus
public AgentAlias withAgentAliasStatus(String agentAliasStatus)
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
agentAliasStatus
- The status of the alias of the agent and whether it is ready for use. The following statuses are
possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
AgentAliasStatus
public AgentAlias withAgentAliasStatus(AgentAliasStatus agentAliasStatus)
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
agentAliasStatus
- The status of the alias of the agent and whether it is ready for use. The following statuses are
possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
AgentAliasStatus
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 AgentAlias 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 AgentAlias 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 setCreatedAt(Date createdAt)
The time at which the alias of the agent was created.
createdAt
- The time at which the alias of the agent was created.public Date getCreatedAt()
The time at which the alias of the agent was created.
public AgentAlias withCreatedAt(Date createdAt)
The time at which the alias of the agent was created.
createdAt
- The time at which the alias of the agent was created.public void setDescription(String description)
The description of the alias of the agent.
description
- The description of the alias of the agent.public String getDescription()
The description of the alias of the agent.
public AgentAlias withDescription(String description)
The description of the alias of the agent.
description
- The description of the alias of the agent.public List<String> getFailureReasons()
Information on the failure of Provisioned Throughput assigned to an agent alias.
public void setFailureReasons(Collection<String> failureReasons)
Information on the failure of Provisioned Throughput assigned to an agent alias.
failureReasons
- Information on the failure of Provisioned Throughput assigned to an agent alias.public AgentAlias withFailureReasons(String... failureReasons)
Information on the failure of Provisioned Throughput assigned to an agent alias.
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- Information on the failure of Provisioned Throughput assigned to an agent alias.public AgentAlias withFailureReasons(Collection<String> failureReasons)
Information on the failure of Provisioned Throughput assigned to an agent alias.
failureReasons
- Information on the failure of Provisioned Throughput assigned to an agent alias.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 AgentAlias 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 AgentAlias withRoutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Contains details about the routing configuration of the alias.
routingConfiguration
- Contains details about the routing configuration of the alias.public void setUpdatedAt(Date updatedAt)
The time at which the alias was last updated.
updatedAt
- The time at which the alias was last updated.public Date getUpdatedAt()
The time at which the alias was last updated.
public AgentAlias withUpdatedAt(Date updatedAt)
The time at which the alias was last updated.
updatedAt
- The time at which the alias was last updated.public String toString()
toString
in class Object
Object.toString()
public AgentAlias clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.