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 ==.