Struct aws_sdk_securityhub::operation::get_configuration_policy::builders::GetConfigurationPolicyInputBuilder
source · #[non_exhaustive]pub struct GetConfigurationPolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetConfigurationPolicyInput
.
Implementations§
source§impl GetConfigurationPolicyInputBuilder
impl GetConfigurationPolicyInputBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
sourcepub fn build(self) -> Result<GetConfigurationPolicyInput, BuildError>
pub fn build(self) -> Result<GetConfigurationPolicyInput, BuildError>
Consumes the builder and constructs a GetConfigurationPolicyInput
.
source§impl GetConfigurationPolicyInputBuilder
impl GetConfigurationPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetConfigurationPolicyOutput, SdkError<GetConfigurationPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetConfigurationPolicyOutput, SdkError<GetConfigurationPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetConfigurationPolicyInputBuilder
impl Clone for GetConfigurationPolicyInputBuilder
source§fn clone(&self) -> GetConfigurationPolicyInputBuilder
fn clone(&self) -> GetConfigurationPolicyInputBuilder
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 GetConfigurationPolicyInputBuilder
impl Default for GetConfigurationPolicyInputBuilder
source§fn default() -> GetConfigurationPolicyInputBuilder
fn default() -> GetConfigurationPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetConfigurationPolicyInputBuilder
impl PartialEq for GetConfigurationPolicyInputBuilder
source§fn eq(&self, other: &GetConfigurationPolicyInputBuilder) -> bool
fn eq(&self, other: &GetConfigurationPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetConfigurationPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for GetConfigurationPolicyInputBuilder
impl RefUnwindSafe for GetConfigurationPolicyInputBuilder
impl Send for GetConfigurationPolicyInputBuilder
impl Sync for GetConfigurationPolicyInputBuilder
impl Unpin for GetConfigurationPolicyInputBuilder
impl UnwindSafe for GetConfigurationPolicyInputBuilder
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.