Interface DescribeSmbSettingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSmbSettingsResponse.Builder,DescribeSmbSettingsResponse>,SdkBuilder<DescribeSmbSettingsResponse.Builder,DescribeSmbSettingsResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- DescribeSmbSettingsResponse
public static interface DescribeSmbSettingsResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeSmbSettingsResponse.Builder,DescribeSmbSettingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeSmbSettingsResponse.BuilderactiveDirectoryStatus(String activeDirectoryStatus)Indicates the status of a gateway that is a member of the Active Directory domain.DescribeSmbSettingsResponse.BuilderactiveDirectoryStatus(ActiveDirectoryStatus activeDirectoryStatus)Indicates the status of a gateway that is a member of the Active Directory domain.DescribeSmbSettingsResponse.BuilderdomainName(String domainName)The name of the domain that the gateway is joined to.DescribeSmbSettingsResponse.BuilderfileSharesVisible(Boolean fileSharesVisible)The shares on this gateway appear when listing shares.DescribeSmbSettingsResponse.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.DescribeSmbSettingsResponse.BuildersmbGuestPasswordSet(Boolean smbGuestPasswordSet)This value istrueif a password for the guest usersmbguestis set, otherwisefalse.default DescribeSmbSettingsResponse.BuildersmbLocalGroups(Consumer<SMBLocalGroups.Builder> smbLocalGroups)A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.DescribeSmbSettingsResponse.BuildersmbLocalGroups(SMBLocalGroups smbLocalGroups)A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.DescribeSmbSettingsResponse.BuildersmbSecurityStrategy(String smbSecurityStrategy)The type of security strategy that was specified for file gateway.DescribeSmbSettingsResponse.BuildersmbSecurityStrategy(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 Detail
-
gatewayARN
DescribeSmbSettingsResponse.Builder gatewayARN(String 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
DescribeSmbSettingsResponse.Builder domainName(String 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
DescribeSmbSettingsResponse.Builder activeDirectoryStatus(String activeDirectoryStatus)
Indicates the status of a gateway that is a member of the Active Directory domain.
-
ACCESS_DENIED: Indicates that theJoinDomainoperation 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 aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation 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 theJoinDomainoperation 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 aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation 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,ActiveDirectoryStatus
-
-
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 theJoinDomainoperation 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 aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation 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 theJoinDomainoperation 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 aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation 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,ActiveDirectoryStatus
-
-
smbGuestPasswordSet
DescribeSmbSettingsResponse.Builder smbGuestPasswordSet(Boolean smbGuestPasswordSet)
This value is
trueif a password for the guest usersmbguestis set, otherwisefalse. Only supported for S3 File Gateways.Valid Values:
true|false- Parameters:
smbGuestPasswordSet- This value istrueif a password for the guest usersmbguestis 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
DescribeSmbSettingsResponse.Builder smbSecurityStrategy(String 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,SMBSecurityStrategy
-
-
smbSecurityStrategy
DescribeSmbSettingsResponse.Builder smbSecurityStrategy(SMBSecurityStrategy 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,SMBSecurityStrategy
-
-
fileSharesVisible
DescribeSmbSettingsResponse.Builder fileSharesVisible(Boolean fileSharesVisible)
The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
- Parameters:
fileSharesVisible- The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smbLocalGroups
DescribeSmbSettingsResponse.Builder smbLocalGroups(SMBLocalGroups 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.Builderavoiding the need to create one manually viaSMBLocalGroups.builder().When the
Consumercompletes,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:
smbLocalGroups(SMBLocalGroups)
-
-