Struct aws_sdk_deadline::types::builders::PathMappingRuleBuilder
source · #[non_exhaustive]pub struct PathMappingRuleBuilder { /* private fields */ }Expand description
A builder for PathMappingRule.
Implementations§
source§impl PathMappingRuleBuilder
impl PathMappingRuleBuilder
sourcepub fn source_path_format(self, input: PathFormat) -> Self
pub fn source_path_format(self, input: PathFormat) -> Self
The source path format.
This field is required.sourcepub fn set_source_path_format(self, input: Option<PathFormat>) -> Self
pub fn set_source_path_format(self, input: Option<PathFormat>) -> Self
The source path format.
sourcepub fn get_source_path_format(&self) -> &Option<PathFormat>
pub fn get_source_path_format(&self) -> &Option<PathFormat>
The source path format.
sourcepub fn source_path(self, input: impl Into<String>) -> Self
pub fn source_path(self, input: impl Into<String>) -> Self
The source path.
This field is required.sourcepub fn set_source_path(self, input: Option<String>) -> Self
pub fn set_source_path(self, input: Option<String>) -> Self
The source path.
sourcepub fn get_source_path(&self) -> &Option<String>
pub fn get_source_path(&self) -> &Option<String>
The source path.
sourcepub fn destination_path(self, input: impl Into<String>) -> Self
pub fn destination_path(self, input: impl Into<String>) -> Self
The destination path.
This field is required.sourcepub fn set_destination_path(self, input: Option<String>) -> Self
pub fn set_destination_path(self, input: Option<String>) -> Self
The destination path.
sourcepub fn get_destination_path(&self) -> &Option<String>
pub fn get_destination_path(&self) -> &Option<String>
The destination path.
sourcepub fn build(self) -> Result<PathMappingRule, BuildError>
pub fn build(self) -> Result<PathMappingRule, BuildError>
Consumes the builder and constructs a PathMappingRule.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PathMappingRuleBuilder
impl Clone for PathMappingRuleBuilder
source§fn clone(&self) -> PathMappingRuleBuilder
fn clone(&self) -> PathMappingRuleBuilder
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 PathMappingRuleBuilder
impl Debug for PathMappingRuleBuilder
source§impl Default for PathMappingRuleBuilder
impl Default for PathMappingRuleBuilder
source§fn default() -> PathMappingRuleBuilder
fn default() -> PathMappingRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PathMappingRuleBuilder
impl PartialEq for PathMappingRuleBuilder
source§fn eq(&self, other: &PathMappingRuleBuilder) -> bool
fn eq(&self, other: &PathMappingRuleBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PathMappingRuleBuilder
Auto Trait Implementations§
impl Freeze for PathMappingRuleBuilder
impl RefUnwindSafe for PathMappingRuleBuilder
impl Send for PathMappingRuleBuilder
impl Sync for PathMappingRuleBuilder
impl Unpin for PathMappingRuleBuilder
impl UnwindSafe for PathMappingRuleBuilder
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>
Creates a shared type from an unshared type.