Struct aws_sdk_accessanalyzer::operation::get_access_preview::builders::GetAccessPreviewInputBuilder
source · #[non_exhaustive]pub struct GetAccessPreviewInputBuilder { /* private fields */ }Expand description
A builder for GetAccessPreviewInput.
Implementations§
source§impl GetAccessPreviewInputBuilder
impl GetAccessPreviewInputBuilder
sourcepub fn access_preview_id(self, input: impl Into<String>) -> Self
pub fn access_preview_id(self, input: impl Into<String>) -> Self
The unique ID for the access preview.
This field is required.sourcepub fn set_access_preview_id(self, input: Option<String>) -> Self
pub fn set_access_preview_id(self, input: Option<String>) -> Self
The unique ID for the access preview.
sourcepub fn get_access_preview_id(&self) -> &Option<String>
pub fn get_access_preview_id(&self) -> &Option<String>
The unique ID for the access preview.
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 used to generate the access preview.
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 used to generate the access preview.
sourcepub fn get_analyzer_arn(&self) -> &Option<String>
pub fn get_analyzer_arn(&self) -> &Option<String>
The ARN of the analyzer used to generate the access preview.
sourcepub fn build(self) -> Result<GetAccessPreviewInput, BuildError>
pub fn build(self) -> Result<GetAccessPreviewInput, BuildError>
Consumes the builder and constructs a GetAccessPreviewInput.
source§impl GetAccessPreviewInputBuilder
impl GetAccessPreviewInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetAccessPreviewOutput, SdkError<GetAccessPreviewError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetAccessPreviewOutput, SdkError<GetAccessPreviewError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetAccessPreviewInputBuilder
impl Clone for GetAccessPreviewInputBuilder
source§fn clone(&self) -> GetAccessPreviewInputBuilder
fn clone(&self) -> GetAccessPreviewInputBuilder
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 Debug for GetAccessPreviewInputBuilder
impl Debug for GetAccessPreviewInputBuilder
source§impl Default for GetAccessPreviewInputBuilder
impl Default for GetAccessPreviewInputBuilder
source§fn default() -> GetAccessPreviewInputBuilder
fn default() -> GetAccessPreviewInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetAccessPreviewInputBuilder
impl PartialEq for GetAccessPreviewInputBuilder
source§fn eq(&self, other: &GetAccessPreviewInputBuilder) -> bool
fn eq(&self, other: &GetAccessPreviewInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetAccessPreviewInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetAccessPreviewInputBuilder
impl Send for GetAccessPreviewInputBuilder
impl Sync for GetAccessPreviewInputBuilder
impl Unpin for GetAccessPreviewInputBuilder
impl UnwindSafe for GetAccessPreviewInputBuilder
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>
Creates a shared type from an unshared type.