Struct aws_sdk_opensearchserverless::operation::get_security_policy::builders::GetSecurityPolicyInputBuilder
source · #[non_exhaustive]pub struct GetSecurityPolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetSecurityPolicyInput
.
Implementations§
source§impl GetSecurityPolicyInputBuilder
impl GetSecurityPolicyInputBuilder
sourcepub fn type(self, input: SecurityPolicyType) -> Self
pub fn type(self, input: SecurityPolicyType) -> Self
The type of security policy.
sourcepub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
pub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
The type of security policy.
sourcepub fn build(self) -> Result<GetSecurityPolicyInput, BuildError>
pub fn build(self) -> Result<GetSecurityPolicyInput, BuildError>
Consumes the builder and constructs a GetSecurityPolicyInput
.
Trait Implementations§
source§impl Clone for GetSecurityPolicyInputBuilder
impl Clone for GetSecurityPolicyInputBuilder
source§fn clone(&self) -> GetSecurityPolicyInputBuilder
fn clone(&self) -> GetSecurityPolicyInputBuilder
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 GetSecurityPolicyInputBuilder
impl Default for GetSecurityPolicyInputBuilder
source§fn default() -> GetSecurityPolicyInputBuilder
fn default() -> GetSecurityPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetSecurityPolicyInputBuilder> for GetSecurityPolicyInputBuilder
impl PartialEq<GetSecurityPolicyInputBuilder> for GetSecurityPolicyInputBuilder
source§fn eq(&self, other: &GetSecurityPolicyInputBuilder) -> bool
fn eq(&self, other: &GetSecurityPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.