#[non_exhaustive]pub struct DeleteGuardrailInputBuilder { /* private fields */ }
Expand description
A builder for DeleteGuardrailInput
.
Implementations§
source§impl DeleteGuardrailInputBuilder
impl DeleteGuardrailInputBuilder
sourcepub fn guardrail_identifier(self, input: impl Into<String>) -> Self
pub fn guardrail_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the guardrail.
This field is required.sourcepub fn set_guardrail_identifier(self, input: Option<String>) -> Self
pub fn set_guardrail_identifier(self, input: Option<String>) -> Self
The unique identifier of the guardrail.
sourcepub fn get_guardrail_identifier(&self) -> &Option<String>
pub fn get_guardrail_identifier(&self) -> &Option<String>
The unique identifier of the guardrail.
sourcepub fn guardrail_version(self, input: impl Into<String>) -> Self
pub fn guardrail_version(self, input: impl Into<String>) -> Self
The version of the guardrail.
sourcepub fn set_guardrail_version(self, input: Option<String>) -> Self
pub fn set_guardrail_version(self, input: Option<String>) -> Self
The version of the guardrail.
sourcepub fn get_guardrail_version(&self) -> &Option<String>
pub fn get_guardrail_version(&self) -> &Option<String>
The version of the guardrail.
sourcepub fn build(self) -> Result<DeleteGuardrailInput, BuildError>
pub fn build(self) -> Result<DeleteGuardrailInput, BuildError>
Consumes the builder and constructs a DeleteGuardrailInput
.
source§impl DeleteGuardrailInputBuilder
impl DeleteGuardrailInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteGuardrailOutput, SdkError<DeleteGuardrailError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteGuardrailOutput, SdkError<DeleteGuardrailError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteGuardrailInputBuilder
impl Clone for DeleteGuardrailInputBuilder
source§fn clone(&self) -> DeleteGuardrailInputBuilder
fn clone(&self) -> DeleteGuardrailInputBuilder
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 Debug for DeleteGuardrailInputBuilder
impl Debug for DeleteGuardrailInputBuilder
source§impl Default for DeleteGuardrailInputBuilder
impl Default for DeleteGuardrailInputBuilder
source§fn default() -> DeleteGuardrailInputBuilder
fn default() -> DeleteGuardrailInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteGuardrailInputBuilder
impl PartialEq for DeleteGuardrailInputBuilder
source§fn eq(&self, other: &DeleteGuardrailInputBuilder) -> bool
fn eq(&self, other: &DeleteGuardrailInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteGuardrailInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteGuardrailInputBuilder
impl RefUnwindSafe for DeleteGuardrailInputBuilder
impl Send for DeleteGuardrailInputBuilder
impl Sync for DeleteGuardrailInputBuilder
impl Unpin for DeleteGuardrailInputBuilder
impl UnwindSafe for DeleteGuardrailInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.