Struct aws_sdk_ec2::types::builders::AccessScopePathRequestBuilder
source · #[non_exhaustive]pub struct AccessScopePathRequestBuilder { /* private fields */ }
Expand description
A builder for AccessScopePathRequest
.
Implementations§
source§impl AccessScopePathRequestBuilder
impl AccessScopePathRequestBuilder
sourcepub fn source(self, input: PathStatementRequest) -> Self
pub fn source(self, input: PathStatementRequest) -> Self
The source.
sourcepub fn set_source(self, input: Option<PathStatementRequest>) -> Self
pub fn set_source(self, input: Option<PathStatementRequest>) -> Self
The source.
sourcepub fn get_source(&self) -> &Option<PathStatementRequest>
pub fn get_source(&self) -> &Option<PathStatementRequest>
The source.
sourcepub fn destination(self, input: PathStatementRequest) -> Self
pub fn destination(self, input: PathStatementRequest) -> Self
The destination.
sourcepub fn set_destination(self, input: Option<PathStatementRequest>) -> Self
pub fn set_destination(self, input: Option<PathStatementRequest>) -> Self
The destination.
sourcepub fn get_destination(&self) -> &Option<PathStatementRequest>
pub fn get_destination(&self) -> &Option<PathStatementRequest>
The destination.
sourcepub fn through_resources(self, input: ThroughResourcesStatementRequest) -> Self
pub fn through_resources(self, input: ThroughResourcesStatementRequest) -> Self
Appends an item to through_resources
.
To override the contents of this collection use set_through_resources
.
The through resources.
sourcepub fn set_through_resources(
self,
input: Option<Vec<ThroughResourcesStatementRequest>>,
) -> Self
pub fn set_through_resources( self, input: Option<Vec<ThroughResourcesStatementRequest>>, ) -> Self
The through resources.
sourcepub fn get_through_resources(
&self,
) -> &Option<Vec<ThroughResourcesStatementRequest>>
pub fn get_through_resources( &self, ) -> &Option<Vec<ThroughResourcesStatementRequest>>
The through resources.
sourcepub fn build(self) -> AccessScopePathRequest
pub fn build(self) -> AccessScopePathRequest
Consumes the builder and constructs a AccessScopePathRequest
.
Trait Implementations§
source§impl Clone for AccessScopePathRequestBuilder
impl Clone for AccessScopePathRequestBuilder
source§fn clone(&self) -> AccessScopePathRequestBuilder
fn clone(&self) -> AccessScopePathRequestBuilder
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 Default for AccessScopePathRequestBuilder
impl Default for AccessScopePathRequestBuilder
source§fn default() -> AccessScopePathRequestBuilder
fn default() -> AccessScopePathRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AccessScopePathRequestBuilder
impl PartialEq for AccessScopePathRequestBuilder
source§fn eq(&self, other: &AccessScopePathRequestBuilder) -> bool
fn eq(&self, other: &AccessScopePathRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessScopePathRequestBuilder
Auto Trait Implementations§
impl Freeze for AccessScopePathRequestBuilder
impl RefUnwindSafe for AccessScopePathRequestBuilder
impl Send for AccessScopePathRequestBuilder
impl Sync for AccessScopePathRequestBuilder
impl Unpin for AccessScopePathRequestBuilder
impl UnwindSafe for AccessScopePathRequestBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.