Interface AgentAlias.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentAlias.Builder,AgentAlias>,SdkBuilder<AgentAlias.Builder,AgentAlias>,SdkPojo
- Enclosing class:
- AgentAlias
public static interface AgentAlias.Builder extends SdkPojo, CopyableBuilder<AgentAlias.Builder,AgentAlias>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentAlias.BuilderagentAliasArn(String agentAliasArn)Sets the value of the AgentAliasArn property for this object.AgentAlias.BuilderagentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents)Sets the value of the AgentAliasHistoryEvents property for this object.AgentAlias.BuilderagentAliasHistoryEvents(Consumer<AgentAliasHistoryEvent.Builder>... agentAliasHistoryEvents)Sets the value of the AgentAliasHistoryEvents property for this object.AgentAlias.BuilderagentAliasHistoryEvents(AgentAliasHistoryEvent... agentAliasHistoryEvents)Sets the value of the AgentAliasHistoryEvents property for this object.AgentAlias.BuilderagentAliasId(String agentAliasId)Sets the value of the AgentAliasId property for this object.AgentAlias.BuilderagentAliasName(String agentAliasName)Sets the value of the AgentAliasName property for this object.AgentAlias.BuilderagentAliasStatus(String agentAliasStatus)Sets the value of the AgentAliasStatus property for this object.AgentAlias.BuilderagentAliasStatus(AgentAliasStatus agentAliasStatus)Sets the value of the AgentAliasStatus property for this object.AgentAlias.BuilderagentId(String agentId)Sets the value of the AgentId property for this object.AgentAlias.BuilderclientToken(String clientToken)Sets the value of the ClientToken property for this object.AgentAlias.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.AgentAlias.Builderdescription(String description)Sets the value of the Description property for this object.AgentAlias.BuilderroutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)Sets the value of the RoutingConfiguration property for this object.AgentAlias.BuilderroutingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration)Sets the value of the RoutingConfiguration property for this object.AgentAlias.BuilderroutingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)Sets the value of the RoutingConfiguration property for this object.AgentAlias.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
agentId
AgentAlias.Builder agentId(String agentId)
Sets the value of the AgentId property for this object.- Parameters:
agentId- The new value for the AgentId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasId
AgentAlias.Builder agentAliasId(String agentAliasId)
Sets the value of the AgentAliasId property for this object.- Parameters:
agentAliasId- The new value for the AgentAliasId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasName
AgentAlias.Builder agentAliasName(String agentAliasName)
Sets the value of the AgentAliasName property for this object.- Parameters:
agentAliasName- The new value for the AgentAliasName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasArn
AgentAlias.Builder agentAliasArn(String agentAliasArn)
Sets the value of the AgentAliasArn property for this object.- Parameters:
agentAliasArn- The new value for the AgentAliasArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
AgentAlias.Builder clientToken(String clientToken)
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AgentAlias.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
AgentAlias.Builder routingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Sets the value of the RoutingConfiguration property for this object.- Parameters:
routingConfiguration- The new value for the RoutingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
AgentAlias.Builder routingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)
Sets the value of the RoutingConfiguration property for this object.- Parameters:
routingConfiguration- The new value for the RoutingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
AgentAlias.Builder routingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration)
Sets the value of the RoutingConfiguration property for this object. This is a convenience method that creates an instance of theAgentAliasRoutingConfigurationListItem.Builderavoiding the need to create one manually viaAgentAliasRoutingConfigurationListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routingConfiguration(List.) - Parameters:
routingConfiguration- a consumer that will call methods onAgentAliasRoutingConfigurationListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#routingConfiguration(java.util.Collection)
-
createdAt
AgentAlias.Builder createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
AgentAlias.Builder updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasHistoryEvents
AgentAlias.Builder agentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents)
Sets the value of the AgentAliasHistoryEvents property for this object.- Parameters:
agentAliasHistoryEvents- The new value for the AgentAliasHistoryEvents property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasHistoryEvents
AgentAlias.Builder agentAliasHistoryEvents(AgentAliasHistoryEvent... agentAliasHistoryEvents)
Sets the value of the AgentAliasHistoryEvents property for this object.- Parameters:
agentAliasHistoryEvents- The new value for the AgentAliasHistoryEvents property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasHistoryEvents
AgentAlias.Builder agentAliasHistoryEvents(Consumer<AgentAliasHistoryEvent.Builder>... agentAliasHistoryEvents)
Sets the value of the AgentAliasHistoryEvents property for this object. This is a convenience method that creates an instance of theAgentAliasHistoryEvent.Builderavoiding the need to create one manually viaAgentAliasHistoryEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentAliasHistoryEvents(List.) - Parameters:
agentAliasHistoryEvents- a consumer that will call methods onAgentAliasHistoryEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#agentAliasHistoryEvents(java.util.Collection)
-
agentAliasStatus
AgentAlias.Builder agentAliasStatus(String agentAliasStatus)
Sets the value of the AgentAliasStatus property for this object.- Parameters:
agentAliasStatus- The new value for the AgentAliasStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AgentAliasStatus,AgentAliasStatus
-
agentAliasStatus
AgentAlias.Builder agentAliasStatus(AgentAliasStatus agentAliasStatus)
Sets the value of the AgentAliasStatus property for this object.- Parameters:
agentAliasStatus- The new value for the AgentAliasStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AgentAliasStatus,AgentAliasStatus
-
-