Struct aws_sdk_resourceexplorer2::operation::associate_default_view::builders::AssociateDefaultViewInputBuilder
source · #[non_exhaustive]pub struct AssociateDefaultViewInputBuilder { /* private fields */ }Expand description
A builder for AssociateDefaultViewInput.
Implementations§
source§impl AssociateDefaultViewInputBuilder
impl AssociateDefaultViewInputBuilder
sourcepub fn view_arn(self, input: impl Into<String>) -> Self
pub fn view_arn(self, input: impl Into<String>) -> Self
The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.
This field is required.sourcepub fn set_view_arn(self, input: Option<String>) -> Self
pub fn set_view_arn(self, input: Option<String>) -> Self
The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.
sourcepub fn get_view_arn(&self) -> &Option<String>
pub fn get_view_arn(&self) -> &Option<String>
The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.
sourcepub fn build(self) -> Result<AssociateDefaultViewInput, BuildError>
pub fn build(self) -> Result<AssociateDefaultViewInput, BuildError>
Consumes the builder and constructs a AssociateDefaultViewInput.
source§impl AssociateDefaultViewInputBuilder
impl AssociateDefaultViewInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateDefaultViewOutput, SdkError<AssociateDefaultViewError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateDefaultViewOutput, SdkError<AssociateDefaultViewError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateDefaultViewInputBuilder
impl Clone for AssociateDefaultViewInputBuilder
source§fn clone(&self) -> AssociateDefaultViewInputBuilder
fn clone(&self) -> AssociateDefaultViewInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AssociateDefaultViewInputBuilder
impl Default for AssociateDefaultViewInputBuilder
source§fn default() -> AssociateDefaultViewInputBuilder
fn default() -> AssociateDefaultViewInputBuilder
source§impl PartialEq for AssociateDefaultViewInputBuilder
impl PartialEq for AssociateDefaultViewInputBuilder
source§fn eq(&self, other: &AssociateDefaultViewInputBuilder) -> bool
fn eq(&self, other: &AssociateDefaultViewInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateDefaultViewInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateDefaultViewInputBuilder
impl RefUnwindSafe for AssociateDefaultViewInputBuilder
impl Send for AssociateDefaultViewInputBuilder
impl Sync for AssociateDefaultViewInputBuilder
impl Unpin for AssociateDefaultViewInputBuilder
impl UnwindSafe for AssociateDefaultViewInputBuilder
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