Struct aws_sdk_bedrockagent::types::builders::AgentAliasBuilder
source · #[non_exhaustive]pub struct AgentAliasBuilder { /* private fields */ }Expand description
A builder for AgentAlias.
Implementations§
source§impl AgentAliasBuilder
impl AgentAliasBuilder
sourcepub fn agent_id(self, input: impl Into<String>) -> Self
pub fn agent_id(self, input: impl Into<String>) -> Self
Identifier for a resource. This field is required.
sourcepub fn set_agent_id(self, input: Option<String>) -> Self
pub fn set_agent_id(self, input: Option<String>) -> Self
Identifier for a resource.
sourcepub fn get_agent_id(&self) -> &Option<String>
pub fn get_agent_id(&self) -> &Option<String>
Identifier for a resource.
sourcepub fn agent_alias_id(self, input: impl Into<String>) -> Self
pub fn agent_alias_id(self, input: impl Into<String>) -> Self
Id for an Agent Alias generated at the server side. This field is required.
sourcepub fn set_agent_alias_id(self, input: Option<String>) -> Self
pub fn set_agent_alias_id(self, input: Option<String>) -> Self
Id for an Agent Alias generated at the server side.
sourcepub fn get_agent_alias_id(&self) -> &Option<String>
pub fn get_agent_alias_id(&self) -> &Option<String>
Id for an Agent Alias generated at the server side.
sourcepub fn agent_alias_name(self, input: impl Into<String>) -> Self
pub fn agent_alias_name(self, input: impl Into<String>) -> Self
Name for a resource. This field is required.
sourcepub fn set_agent_alias_name(self, input: Option<String>) -> Self
pub fn set_agent_alias_name(self, input: Option<String>) -> Self
Name for a resource.
sourcepub fn get_agent_alias_name(&self) -> &Option<String>
pub fn get_agent_alias_name(&self) -> &Option<String>
Name for a resource.
sourcepub fn agent_alias_arn(self, input: impl Into<String>) -> Self
pub fn agent_alias_arn(self, input: impl Into<String>) -> Self
Arn representation of the Agent Alias. This field is required.
sourcepub fn set_agent_alias_arn(self, input: Option<String>) -> Self
pub fn set_agent_alias_arn(self, input: Option<String>) -> Self
Arn representation of the Agent Alias.
sourcepub fn get_agent_alias_arn(&self) -> &Option<String>
pub fn get_agent_alias_arn(&self) -> &Option<String>
Arn representation of the Agent Alias.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Client specified token used for idempotency checks
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Client specified token used for idempotency checks
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Client specified token used for idempotency checks
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the Resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the Resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the Resource.
sourcepub fn routing_configuration(
self,
input: AgentAliasRoutingConfigurationListItem
) -> Self
pub fn routing_configuration( self, input: AgentAliasRoutingConfigurationListItem ) -> Self
Appends an item to routing_configuration.
To override the contents of this collection use set_routing_configuration.
Routing configuration for an Agent alias.
sourcepub fn set_routing_configuration(
self,
input: Option<Vec<AgentAliasRoutingConfigurationListItem>>
) -> Self
pub fn set_routing_configuration( self, input: Option<Vec<AgentAliasRoutingConfigurationListItem>> ) -> Self
Routing configuration for an Agent alias.
sourcepub fn get_routing_configuration(
&self
) -> &Option<Vec<AgentAliasRoutingConfigurationListItem>>
pub fn get_routing_configuration( &self ) -> &Option<Vec<AgentAliasRoutingConfigurationListItem>>
Routing configuration for an Agent alias.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Time Stamp. This field is required.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Time Stamp.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Time Stamp.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
Time Stamp. This field is required.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
Time Stamp.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
Time Stamp.
sourcepub fn agent_alias_history_events(self, input: AgentAliasHistoryEvent) -> Self
pub fn agent_alias_history_events(self, input: AgentAliasHistoryEvent) -> Self
Appends an item to agent_alias_history_events.
To override the contents of this collection use set_agent_alias_history_events.
The list of history events for an alias for an Agent.
sourcepub fn set_agent_alias_history_events(
self,
input: Option<Vec<AgentAliasHistoryEvent>>
) -> Self
pub fn set_agent_alias_history_events( self, input: Option<Vec<AgentAliasHistoryEvent>> ) -> Self
The list of history events for an alias for an Agent.
sourcepub fn get_agent_alias_history_events(
&self
) -> &Option<Vec<AgentAliasHistoryEvent>>
pub fn get_agent_alias_history_events( &self ) -> &Option<Vec<AgentAliasHistoryEvent>>
The list of history events for an alias for an Agent.
sourcepub fn agent_alias_status(self, input: AgentAliasStatus) -> Self
pub fn agent_alias_status(self, input: AgentAliasStatus) -> Self
The statuses an Agent Alias can be in. This field is required.
sourcepub fn set_agent_alias_status(self, input: Option<AgentAliasStatus>) -> Self
pub fn set_agent_alias_status(self, input: Option<AgentAliasStatus>) -> Self
The statuses an Agent Alias can be in.
sourcepub fn get_agent_alias_status(&self) -> &Option<AgentAliasStatus>
pub fn get_agent_alias_status(&self) -> &Option<AgentAliasStatus>
The statuses an Agent Alias can be in.
sourcepub fn build(self) -> Result<AgentAlias, BuildError>
pub fn build(self) -> Result<AgentAlias, BuildError>
Consumes the builder and constructs a AgentAlias.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AgentAliasBuilder
impl Clone for AgentAliasBuilder
source§fn clone(&self) -> AgentAliasBuilder
fn clone(&self) -> AgentAliasBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AgentAliasBuilder
impl Debug for AgentAliasBuilder
source§impl Default for AgentAliasBuilder
impl Default for AgentAliasBuilder
source§fn default() -> AgentAliasBuilder
fn default() -> AgentAliasBuilder
source§impl PartialEq for AgentAliasBuilder
impl PartialEq for AgentAliasBuilder
source§fn eq(&self, other: &AgentAliasBuilder) -> bool
fn eq(&self, other: &AgentAliasBuilder) -> bool
self and other values to be equal, and is used
by ==.