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.
sourcepub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
pub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
The type of policy.
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 build(self) -> Result<DeleteSecurityPolicyInput, BuildError>
pub fn build(self) -> Result<DeleteSecurityPolicyInput, BuildError>
Consumes the builder and constructs a DeleteSecurityPolicyInput
.
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<DeleteSecurityPolicyInputBuilder> for DeleteSecurityPolicyInputBuilder
impl PartialEq<DeleteSecurityPolicyInputBuilder> 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 ==
.