Struct aws_sdk_ec2::model::access_scope_path::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AccessScopePath
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> AccessScopePath
pub fn build(self) -> AccessScopePath
Consumes the builder and constructs a AccessScopePath
.