Struct aws_sdk_workdocs::model::resource_path::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourcePath
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn components(self, input: ResourcePathComponent) -> Self
pub fn components(self, input: ResourcePathComponent) -> Self
Appends an item to components
.
To override the contents of this collection use set_components
.
The components of the resource path.
sourcepub fn set_components(self, input: Option<Vec<ResourcePathComponent>>) -> Self
pub fn set_components(self, input: Option<Vec<ResourcePathComponent>>) -> Self
The components of the resource path.
sourcepub fn build(self) -> ResourcePath
pub fn build(self) -> ResourcePath
Consumes the builder and constructs a ResourcePath
.