Struct aws_sdk_bedrockagent::operation::delete_agent_alias::builders::DeleteAgentAliasOutputBuilder
source · #[non_exhaustive]pub struct DeleteAgentAliasOutputBuilder { /* private fields */ }Expand description
A builder for DeleteAgentAliasOutput.
Implementations§
source§impl DeleteAgentAliasOutputBuilder
impl DeleteAgentAliasOutputBuilder
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_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<DeleteAgentAliasOutput, BuildError>
pub fn build(self) -> Result<DeleteAgentAliasOutput, BuildError>
Consumes the builder and constructs a DeleteAgentAliasOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteAgentAliasOutputBuilder
impl Clone for DeleteAgentAliasOutputBuilder
source§fn clone(&self) -> DeleteAgentAliasOutputBuilder
fn clone(&self) -> DeleteAgentAliasOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteAgentAliasOutputBuilder
impl Default for DeleteAgentAliasOutputBuilder
source§fn default() -> DeleteAgentAliasOutputBuilder
fn default() -> DeleteAgentAliasOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteAgentAliasOutputBuilder
impl PartialEq for DeleteAgentAliasOutputBuilder
source§fn eq(&self, other: &DeleteAgentAliasOutputBuilder) -> bool
fn eq(&self, other: &DeleteAgentAliasOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteAgentAliasOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteAgentAliasOutputBuilder
impl Send for DeleteAgentAliasOutputBuilder
impl Sync for DeleteAgentAliasOutputBuilder
impl Unpin for DeleteAgentAliasOutputBuilder
impl UnwindSafe for DeleteAgentAliasOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.