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 Amazon Resource Name (ARN) of the SMB location that was described.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the SMB location that was described.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the SMB location that was described.
sourcepub fn location_uri(self, input: impl Into<String>) -> Self
pub fn location_uri(self, input: impl Into<String>) -> Self
The URL of the source SMB location that was described.
sourcepub fn set_location_uri(self, input: Option<String>) -> Self
pub fn set_location_uri(self, input: Option<String>) -> Self
The URL of the source SMB location that was described.
sourcepub fn get_location_uri(&self) -> &Option<String>
pub fn get_location_uri(&self) -> &Option<String>
The URL of the source SMB location that was described.
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 Amazon Resource Name (ARN) of the source SMB file system location that is created.
sourcepub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) of the source SMB file system location that is created.
sourcepub fn get_agent_arns(&self) -> &Option<Vec<String>>
pub fn get_agent_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Name (ARN) of the source SMB file system location that is created.
sourcepub fn user(self, input: impl Into<String>) -> Self
pub fn user(self, input: impl Into<String>) -> Self
The user who can mount the share, has the permissions to access files and folders in the SMB share.
sourcepub fn set_user(self, input: Option<String>) -> Self
pub fn set_user(self, input: Option<String>) -> Self
The user who can mount the share, has the permissions to access files and folders in the SMB share.
sourcepub fn get_user(&self) -> &Option<String>
pub fn get_user(&self) -> &Option<String>
The user who can mount the share, has the permissions to access files and folders in the SMB share.
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the Windows domain that the SMB 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 Windows domain that the SMB server belongs to.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the Windows domain that the SMB server belongs to.
sourcepub fn mount_options(self, input: SmbMountOptions) -> Self
pub fn mount_options(self, input: SmbMountOptions) -> Self
The mount options that are available for DataSync to use to access an SMB location.
sourcepub fn set_mount_options(self, input: Option<SmbMountOptions>) -> Self
pub fn set_mount_options(self, input: Option<SmbMountOptions>) -> Self
The mount options that are available for DataSync to use to access an SMB location.
sourcepub fn get_mount_options(&self) -> &Option<SmbMountOptions>
pub fn get_mount_options(&self) -> &Option<SmbMountOptions>
The mount options that are available for DataSync to use to access an SMB location.
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 ==
.