Struct aws_sdk_accessanalyzer::operation::create_access_preview::builders::CreateAccessPreviewInputBuilder
source · #[non_exhaustive]pub struct CreateAccessPreviewInputBuilder { /* private fields */ }Expand description
A builder for CreateAccessPreviewInput.
Implementations§
source§impl CreateAccessPreviewInputBuilder
impl CreateAccessPreviewInputBuilder
sourcepub fn analyzer_arn(self, input: impl Into<String>) -> Self
pub fn analyzer_arn(self, input: impl Into<String>) -> Self
The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.
sourcepub fn set_analyzer_arn(self, input: Option<String>) -> Self
pub fn set_analyzer_arn(self, input: Option<String>) -> Self
The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.
sourcepub fn get_analyzer_arn(&self) -> &Option<String>
pub fn get_analyzer_arn(&self) -> &Option<String>
The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.
sourcepub fn configurations(self, k: impl Into<String>, v: Configuration) -> Self
pub fn configurations(self, k: impl Into<String>, v: Configuration) -> Self
Adds a key-value pair to configurations.
To override the contents of this collection use set_configurations.
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
sourcepub fn set_configurations(
self,
input: Option<HashMap<String, Configuration>>
) -> Self
pub fn set_configurations( self, input: Option<HashMap<String, Configuration>> ) -> Self
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
sourcepub fn get_configurations(&self) -> &Option<HashMap<String, Configuration>>
pub fn get_configurations(&self) -> &Option<HashMap<String, Configuration>>
Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A client token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A client token.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A client token.
sourcepub fn build(self) -> Result<CreateAccessPreviewInput, BuildError>
pub fn build(self) -> Result<CreateAccessPreviewInput, BuildError>
Consumes the builder and constructs a CreateAccessPreviewInput.
source§impl CreateAccessPreviewInputBuilder
impl CreateAccessPreviewInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAccessPreviewOutput, SdkError<CreateAccessPreviewError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAccessPreviewOutput, SdkError<CreateAccessPreviewError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAccessPreviewInputBuilder
impl Clone for CreateAccessPreviewInputBuilder
source§fn clone(&self) -> CreateAccessPreviewInputBuilder
fn clone(&self) -> CreateAccessPreviewInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateAccessPreviewInputBuilder
impl Default for CreateAccessPreviewInputBuilder
source§fn default() -> CreateAccessPreviewInputBuilder
fn default() -> CreateAccessPreviewInputBuilder
source§impl PartialEq for CreateAccessPreviewInputBuilder
impl PartialEq for CreateAccessPreviewInputBuilder
source§fn eq(&self, other: &CreateAccessPreviewInputBuilder) -> bool
fn eq(&self, other: &CreateAccessPreviewInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateAccessPreviewInputBuilder
Auto Trait Implementations§
impl Freeze for CreateAccessPreviewInputBuilder
impl RefUnwindSafe for CreateAccessPreviewInputBuilder
impl Send for CreateAccessPreviewInputBuilder
impl Sync for CreateAccessPreviewInputBuilder
impl Unpin for CreateAccessPreviewInputBuilder
impl UnwindSafe for CreateAccessPreviewInputBuilder
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
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>
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>
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 more