Interface DescribeSmbSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSmbSettingsResponse.Builder,
,DescribeSmbSettingsResponse> SdkBuilder<DescribeSmbSettingsResponse.Builder,
,DescribeSmbSettingsResponse> SdkPojo
,SdkResponse.Builder
,StorageGatewayResponse.Builder
- Enclosing class:
DescribeSmbSettingsResponse
-
Method Summary
Modifier and TypeMethodDescriptionactiveDirectoryStatus
(String activeDirectoryStatus) Indicates the status of a gateway that is a member of the Active Directory domain.activeDirectoryStatus
(ActiveDirectoryStatus activeDirectoryStatus) Indicates the status of a gateway that is a member of the Active Directory domain.domainName
(String domainName) The name of the domain that the gateway is joined to.fileSharesVisible
(Boolean fileSharesVisible) The shares on this gateway appear when listing shares.gatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.smbGuestPasswordSet
(Boolean smbGuestPasswordSet) This value istrue
if a password for the guest usersmbguest
is set, otherwisefalse
.smbLocalGroups
(Consumer<SMBLocalGroups.Builder> smbLocalGroups) A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.smbLocalGroups
(SMBLocalGroups smbLocalGroups) A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.smbSecurityStrategy
(String smbSecurityStrategy) The type of security strategy that was specified for file gateway.smbSecurityStrategy
(SMBSecurityStrategy smbSecurityStrategy) The type of security strategy that was specified for file gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN
- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
The name of the domain that the gateway is joined to.
- Parameters:
domainName
- The name of the domain that the gateway is joined to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeDirectoryStatus
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.
- Parameters:
activeDirectoryStatus
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
activeDirectoryStatus
DescribeSmbSettingsResponse.Builder activeDirectoryStatus(ActiveDirectoryStatus activeDirectoryStatus) 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.
- Parameters:
activeDirectoryStatus
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
smbGuestPasswordSet
This value is
true
if a password for the guest usersmbguest
is set, otherwisefalse
. Only supported for S3 File Gateways.Valid Values:
true
|false
- Parameters:
smbGuestPasswordSet
- This value istrue
if a password for the guest usersmbguest
is set, otherwisefalse
. Only supported for S3 File Gateways.Valid Values:
true
|false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smbSecurityStrategy
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.
- Parameters:
smbSecurityStrategy
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
smbSecurityStrategy
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.
- Parameters:
smbSecurityStrategy
- 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
smbLocalGroups
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
- Parameters:
smbLocalGroups
- A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smbLocalGroups
default DescribeSmbSettingsResponse.Builder smbLocalGroups(Consumer<SMBLocalGroups.Builder> smbLocalGroups) A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
This is a convenience method that creates an instance of theSMBLocalGroups.Builder
avoiding the need to create one manually viaSMBLocalGroups.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosmbLocalGroups(SMBLocalGroups)
.- Parameters:
smbLocalGroups
- a consumer that will call methods onSMBLocalGroups.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-