Struct aws_sdk_ec2::types::builders::AccessScopePathBuilder
source · #[non_exhaustive]pub struct AccessScopePathBuilder { /* private fields */ }
Expand description
A builder for AccessScopePath
.
Implementations§
source§impl AccessScopePathBuilder
impl AccessScopePathBuilder
sourcepub fn source(self, input: PathStatement) -> Self
pub fn source(self, input: PathStatement) -> Self
The source.
sourcepub fn set_source(self, input: Option<PathStatement>) -> Self
pub fn set_source(self, input: Option<PathStatement>) -> Self
The source.
sourcepub fn get_source(&self) -> &Option<PathStatement>
pub fn get_source(&self) -> &Option<PathStatement>
The source.
sourcepub fn destination(self, input: PathStatement) -> Self
pub fn destination(self, input: PathStatement) -> Self
The destination.
sourcepub fn set_destination(self, input: Option<PathStatement>) -> Self
pub fn set_destination(self, input: Option<PathStatement>) -> Self
The destination.
sourcepub fn get_destination(&self) -> &Option<PathStatement>
pub fn get_destination(&self) -> &Option<PathStatement>
The destination.
sourcepub fn through_resources(self, input: ThroughResourcesStatement) -> Self
pub fn through_resources(self, input: ThroughResourcesStatement) -> 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<ThroughResourcesStatement>>
) -> Self
pub fn set_through_resources( self, input: Option<Vec<ThroughResourcesStatement>> ) -> Self
The through resources.
sourcepub fn get_through_resources(&self) -> &Option<Vec<ThroughResourcesStatement>>
pub fn get_through_resources(&self) -> &Option<Vec<ThroughResourcesStatement>>
The through resources.
sourcepub fn build(self) -> AccessScopePath
pub fn build(self) -> AccessScopePath
Consumes the builder and constructs a AccessScopePath
.
Trait Implementations§
source§impl Clone for AccessScopePathBuilder
impl Clone for AccessScopePathBuilder
source§fn clone(&self) -> AccessScopePathBuilder
fn clone(&self) -> AccessScopePathBuilder
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 AccessScopePathBuilder
impl Debug for AccessScopePathBuilder
source§impl Default for AccessScopePathBuilder
impl Default for AccessScopePathBuilder
source§fn default() -> AccessScopePathBuilder
fn default() -> AccessScopePathBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AccessScopePathBuilder> for AccessScopePathBuilder
impl PartialEq<AccessScopePathBuilder> for AccessScopePathBuilder
source§fn eq(&self, other: &AccessScopePathBuilder) -> bool
fn eq(&self, other: &AccessScopePathBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessScopePathBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccessScopePathBuilder
impl Send for AccessScopePathBuilder
impl Sync for AccessScopePathBuilder
impl Unpin for AccessScopePathBuilder
impl UnwindSafe for AccessScopePathBuilder
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