#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeSmbSettingsOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain that the gateway is joined to.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain that the gateway is joined to.
sourcepub fn active_directory_status(self, input: ActiveDirectoryStatus) -> Self
pub fn active_directory_status(self, input: ActiveDirectoryStatus) -> Self
Indicates the status of a gateway that is a member of the Active Directory domain.
-
ACCESS_DENIED
: Indicates that theJoinDomain
operation failed due to an authentication error. -
DETACHED
: Indicates that gateway is not joined to a domain. -
JOINED
: Indicates that the gateway has successfully joined a domain. -
JOINING
: Indicates that aJoinDomain
operation is in progress. -
NETWORK_ERROR
: Indicates thatJoinDomain
operation failed due to a network or connectivity error. -
TIMEOUT
: Indicates that theJoinDomain
operation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR
: Indicates that theJoinDomain
operation failed due to another type of error.
sourcepub fn set_active_directory_status(
self,
input: Option<ActiveDirectoryStatus>
) -> Self
pub fn set_active_directory_status(
self,
input: Option<ActiveDirectoryStatus>
) -> Self
Indicates the status of a gateway that is a member of the Active Directory domain.
-
ACCESS_DENIED
: Indicates that theJoinDomain
operation failed due to an authentication error. -
DETACHED
: Indicates that gateway is not joined to a domain. -
JOINED
: Indicates that the gateway has successfully joined a domain. -
JOINING
: Indicates that aJoinDomain
operation is in progress. -
NETWORK_ERROR
: Indicates thatJoinDomain
operation failed due to a network or connectivity error. -
TIMEOUT
: Indicates that theJoinDomain
operation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR
: Indicates that theJoinDomain
operation failed due to another type of error.
sourcepub fn smb_guest_password_set(self, input: bool) -> Self
pub fn smb_guest_password_set(self, input: bool) -> Self
This value is true
if a password for the guest user smbguest
is set, otherwise false
. Only supported for S3 File Gateways.
Valid Values: true
| false
sourcepub fn set_smb_guest_password_set(self, input: Option<bool>) -> Self
pub fn set_smb_guest_password_set(self, input: Option<bool>) -> Self
This value is true
if a password for the guest user smbguest
is set, otherwise false
. Only supported for S3 File Gateways.
Valid Values: true
| false
sourcepub fn smb_security_strategy(self, input: SmbSecurityStrategy) -> Self
pub fn smb_security_strategy(self, input: SmbSecurityStrategy) -> Self
The type of security strategy that was specified for file gateway.
-
ClientSpecified
: If you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Only supported for S3 File Gateways. -
MandatorySigning
: If you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer. -
MandatoryEncryption
: If you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.
sourcepub fn set_smb_security_strategy(
self,
input: Option<SmbSecurityStrategy>
) -> Self
pub fn set_smb_security_strategy(
self,
input: Option<SmbSecurityStrategy>
) -> Self
The type of security strategy that was specified for file gateway.
-
ClientSpecified
: If you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Only supported for S3 File Gateways. -
MandatorySigning
: If you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer. -
MandatoryEncryption
: If you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.
The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
sourcepub fn smb_local_groups(self, input: SmbLocalGroups) -> Self
pub fn smb_local_groups(self, input: SmbLocalGroups) -> Self
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
sourcepub fn set_smb_local_groups(self, input: Option<SmbLocalGroups>) -> Self
pub fn set_smb_local_groups(self, input: Option<SmbLocalGroups>) -> Self
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
sourcepub fn build(self) -> DescribeSmbSettingsOutput
pub fn build(self) -> DescribeSmbSettingsOutput
Consumes the builder and constructs a DescribeSmbSettingsOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more