Struct aws_sdk_opensearchserverless::operation::delete_security_policy::builders::DeleteSecurityPolicyInputBuilder
source · #[non_exhaustive]pub struct DeleteSecurityPolicyInputBuilder { /* private fields */ }
Expand description
A builder for DeleteSecurityPolicyInput
.
Implementations§
source§impl DeleteSecurityPolicyInputBuilder
impl DeleteSecurityPolicyInputBuilder
sourcepub fn type(self, input: SecurityPolicyType) -> Self
pub fn type(self, input: SecurityPolicyType) -> Self
The type of policy.
This field is required.sourcepub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
pub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
The type of policy.
sourcepub fn get_type(&self) -> &Option<SecurityPolicyType>
pub fn get_type(&self) -> &Option<SecurityPolicyType>
The type of policy.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the policy to delete.
This field is required.sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn build(self) -> Result<DeleteSecurityPolicyInput, BuildError>
pub fn build(self) -> Result<DeleteSecurityPolicyInput, BuildError>
Consumes the builder and constructs a DeleteSecurityPolicyInput
.
source§impl DeleteSecurityPolicyInputBuilder
impl DeleteSecurityPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteSecurityPolicyOutput, SdkError<DeleteSecurityPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteSecurityPolicyOutput, SdkError<DeleteSecurityPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteSecurityPolicyInputBuilder
impl Clone for DeleteSecurityPolicyInputBuilder
source§fn clone(&self) -> DeleteSecurityPolicyInputBuilder
fn clone(&self) -> DeleteSecurityPolicyInputBuilder
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 DeleteSecurityPolicyInputBuilder
impl Default for DeleteSecurityPolicyInputBuilder
source§fn default() -> DeleteSecurityPolicyInputBuilder
fn default() -> DeleteSecurityPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteSecurityPolicyInputBuilder
impl PartialEq for DeleteSecurityPolicyInputBuilder
source§fn eq(&self, other: &DeleteSecurityPolicyInputBuilder) -> bool
fn eq(&self, other: &DeleteSecurityPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteSecurityPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteSecurityPolicyInputBuilder
impl RefUnwindSafe for DeleteSecurityPolicyInputBuilder
impl Send for DeleteSecurityPolicyInputBuilder
impl Sync for DeleteSecurityPolicyInputBuilder
impl Unpin for DeleteSecurityPolicyInputBuilder
impl UnwindSafe for DeleteSecurityPolicyInputBuilder
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.