Struct aws_sdk_accessanalyzer::operation::start_resource_scan::builders::StartResourceScanInputBuilder
source · #[non_exhaustive]pub struct StartResourceScanInputBuilder { /* private fields */ }Expand description
A builder for StartResourceScanInput.
Implementations§
source§impl StartResourceScanInputBuilder
impl StartResourceScanInputBuilder
sourcepub fn analyzer_arn(self, input: impl Into<String>) -> Self
pub fn analyzer_arn(self, input: impl Into<String>) -> Self
The ARN of the analyzer to use to scan the policies applied to the specified resource.
This field is required.sourcepub fn set_analyzer_arn(self, input: Option<String>) -> Self
pub fn set_analyzer_arn(self, input: Option<String>) -> Self
The ARN of the analyzer to use to scan the policies applied to the specified resource.
sourcepub fn get_analyzer_arn(&self) -> &Option<String>
pub fn get_analyzer_arn(&self) -> &Option<String>
The ARN of the analyzer to use to scan the policies applied to the specified resource.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN of the resource to scan.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN of the resource to scan.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The ARN of the resource to scan.
sourcepub fn resource_owner_account(self, input: impl Into<String>) -> Self
pub fn resource_owner_account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
sourcepub fn set_resource_owner_account(self, input: Option<String>) -> Self
pub fn set_resource_owner_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
sourcepub fn get_resource_owner_account(&self) -> &Option<String>
pub fn get_resource_owner_account(&self) -> &Option<String>
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
sourcepub fn build(self) -> Result<StartResourceScanInput, BuildError>
pub fn build(self) -> Result<StartResourceScanInput, BuildError>
Consumes the builder and constructs a StartResourceScanInput.
source§impl StartResourceScanInputBuilder
impl StartResourceScanInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartResourceScanOutput, SdkError<StartResourceScanError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartResourceScanOutput, SdkError<StartResourceScanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartResourceScanInputBuilder
impl Clone for StartResourceScanInputBuilder
source§fn clone(&self) -> StartResourceScanInputBuilder
fn clone(&self) -> StartResourceScanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartResourceScanInputBuilder
impl Default for StartResourceScanInputBuilder
source§fn default() -> StartResourceScanInputBuilder
fn default() -> StartResourceScanInputBuilder
source§impl PartialEq for StartResourceScanInputBuilder
impl PartialEq for StartResourceScanInputBuilder
source§fn eq(&self, other: &StartResourceScanInputBuilder) -> bool
fn eq(&self, other: &StartResourceScanInputBuilder) -> bool
self and other values to be equal, and is used
by ==.