Struct aws_sdk_datasync::operation::describe_location_smb::builders::DescribeLocationSmbOutputBuilder
source · #[non_exhaustive]pub struct DescribeLocationSmbOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeLocationSmbOutput
.
Implementations§
source§impl DescribeLocationSmbOutputBuilder
impl DescribeLocationSmbOutputBuilder
sourcepub fn location_arn(self, input: impl Into<String>) -> Self
pub fn location_arn(self, input: impl Into<String>) -> Self
The ARN of the SMB location.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
The ARN of the SMB location.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
The ARN of the SMB location.
sourcepub fn location_uri(self, input: impl Into<String>) -> Self
pub fn location_uri(self, input: impl Into<String>) -> Self
The URI of the SMB location.
sourcepub fn set_location_uri(self, input: Option<String>) -> Self
pub fn set_location_uri(self, input: Option<String>) -> Self
The URI of the SMB location.
sourcepub fn get_location_uri(&self) -> &Option<String>
pub fn get_location_uri(&self) -> &Option<String>
The URI of the SMB location.
sourcepub fn agent_arns(self, input: impl Into<String>) -> Self
pub fn agent_arns(self, input: impl Into<String>) -> Self
Appends an item to agent_arns
.
To override the contents of this collection use set_agent_arns
.
The ARNs of the DataSync agents that can connect with your SMB file server.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
The ARNs of the DataSync agents that can connect with your SMB file server.
sourcepub fn get_agent_arns(&self) -> &Option<Vec<String>>
pub fn get_agent_arns(&self) -> &Option<Vec<String>>
The ARNs of the DataSync agents that can connect with your SMB file server.
sourcepub fn user(self, input: impl Into<String>) -> Self
pub fn user(self, input: impl Into<String>) -> Self
The user that can mount and access the files, folders, and file metadata in your SMB file server.
sourcepub fn set_user(self, input: Option<String>) -> Self
pub fn set_user(self, input: Option<String>) -> Self
The user that can mount and access the files, folders, and file metadata in your SMB file server.
sourcepub fn get_user(&self) -> &Option<String>
pub fn get_user(&self) -> &Option<String>
The user that can mount and access the files, folders, and file metadata in your SMB file server.
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the Microsoft Active Directory domain that the SMB file server belongs to.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the Microsoft Active Directory domain that the SMB file server belongs to.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the Microsoft Active Directory domain that the SMB file server belongs to.
sourcepub fn mount_options(self, input: SmbMountOptions) -> Self
pub fn mount_options(self, input: SmbMountOptions) -> Self
The protocol that DataSync use to access your SMB file.
sourcepub fn set_mount_options(self, input: Option<SmbMountOptions>) -> Self
pub fn set_mount_options(self, input: Option<SmbMountOptions>) -> Self
The protocol that DataSync use to access your SMB file.
sourcepub fn get_mount_options(&self) -> &Option<SmbMountOptions>
pub fn get_mount_options(&self) -> &Option<SmbMountOptions>
The protocol that DataSync use to access your SMB file.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the SMB location was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the SMB location was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that the SMB location was created.
sourcepub fn build(self) -> DescribeLocationSmbOutput
pub fn build(self) -> DescribeLocationSmbOutput
Consumes the builder and constructs a DescribeLocationSmbOutput
.
Trait Implementations§
source§impl Clone for DescribeLocationSmbOutputBuilder
impl Clone for DescribeLocationSmbOutputBuilder
source§fn clone(&self) -> DescribeLocationSmbOutputBuilder
fn clone(&self) -> DescribeLocationSmbOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeLocationSmbOutputBuilder
impl Default for DescribeLocationSmbOutputBuilder
source§fn default() -> DescribeLocationSmbOutputBuilder
fn default() -> DescribeLocationSmbOutputBuilder
source§impl PartialEq for DescribeLocationSmbOutputBuilder
impl PartialEq for DescribeLocationSmbOutputBuilder
source§fn eq(&self, other: &DescribeLocationSmbOutputBuilder) -> bool
fn eq(&self, other: &DescribeLocationSmbOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeLocationSmbOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeLocationSmbOutputBuilder
impl RefUnwindSafe for DescribeLocationSmbOutputBuilder
impl Send for DescribeLocationSmbOutputBuilder
impl Sync for DescribeLocationSmbOutputBuilder
impl Unpin for DescribeLocationSmbOutputBuilder
impl UnwindSafe for DescribeLocationSmbOutputBuilder
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
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>
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>
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 more