Class DescribeSmbSettingsResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
-
- software.amazon.awssdk.services.storagegateway.model.DescribeSmbSettingsResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeSmbSettingsResponse.Builder,DescribeSmbSettingsResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeSmbSettingsResponse extends StorageGatewayResponse implements ToCopyableBuilder<DescribeSmbSettingsResponse.Builder,DescribeSmbSettingsResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeSmbSettingsResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveDirectoryStatusactiveDirectoryStatus()Indicates the status of a gateway that is a member of the Active Directory domain.StringactiveDirectoryStatusAsString()Indicates the status of a gateway that is a member of the Active Directory domain.static DescribeSmbSettingsResponse.Builderbuilder()StringdomainName()The name of the domain that the gateway is joined to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfileSharesVisible()The shares on this gateway appear when listing shares.StringgatewayARN()Returns the value of the GatewayARN property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DescribeSmbSettingsResponse.Builder>serializableBuilderClass()BooleansmbGuestPasswordSet()This value istrueif a password for the guest usersmbguestis set, otherwisefalse.SMBLocalGroupssmbLocalGroups()A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.SMBSecurityStrategysmbSecurityStrategy()The type of security strategy that was specified for file gateway.StringsmbSecurityStrategyAsString()The type of security strategy that was specified for file gateway.DescribeSmbSettingsResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gatewayARN
public final String gatewayARN()
Returns the value of the GatewayARN property for this object.- Returns:
- The value of the GatewayARN property for this object.
-
domainName
public final String domainName()
The name of the domain that the gateway is joined to.
- Returns:
- The name of the domain that the gateway is joined to.
-
activeDirectoryStatus
public final 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.
If the service returns an enum value that is not available in the current SDK version,
activeDirectoryStatuswill returnActiveDirectoryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactiveDirectoryStatusAsString().- Returns:
- 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.
-
- See Also:
ActiveDirectoryStatus
-
-
activeDirectoryStatusAsString
public final String activeDirectoryStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
activeDirectoryStatuswill returnActiveDirectoryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactiveDirectoryStatusAsString().- Returns:
- 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.
-
- See Also:
ActiveDirectoryStatus
-
-
smbGuestPasswordSet
public final Boolean smbGuestPasswordSet()
This value is
trueif a password for the guest usersmbguestis set, otherwisefalse. Only supported for S3 File Gateways.Valid Values:
true|false- Returns:
- This value is
trueif a password for the guest usersmbguestis set, otherwisefalse. Only supported for S3 File Gateways.Valid Values:
true|false
-
smbSecurityStrategy
public final SMBSecurityStrategy smbSecurityStrategy()
The type of security strategy that was specified for file gateway.
-
ClientSpecified: If you choose 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. Supported only for S3 File Gateway. -
MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later. -
MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later. -
MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.
If the service returns an enum value that is not available in the current SDK version,
smbSecurityStrategywill returnSMBSecurityStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsmbSecurityStrategyAsString().- Returns:
- The type of security strategy that was specified for file gateway.
-
ClientSpecified: If you choose 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. Supported only for S3 File Gateway. -
MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later. -
MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later. -
MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.
-
- See Also:
SMBSecurityStrategy
-
-
smbSecurityStrategyAsString
public final String smbSecurityStrategyAsString()
The type of security strategy that was specified for file gateway.
-
ClientSpecified: If you choose 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. Supported only for S3 File Gateway. -
MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later. -
MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later. -
MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.
If the service returns an enum value that is not available in the current SDK version,
smbSecurityStrategywill returnSMBSecurityStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsmbSecurityStrategyAsString().- Returns:
- The type of security strategy that was specified for file gateway.
-
ClientSpecified: If you choose 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. Supported only for S3 File Gateway. -
MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later. -
MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later. -
MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.
-
- See Also:
SMBSecurityStrategy
-
-
fileSharesVisible
public final Boolean fileSharesVisible()
The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
- Returns:
- The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.
-
smbLocalGroups
public final SMBLocalGroups smbLocalGroups()
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
- Returns:
- A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
-
toBuilder
public DescribeSmbSettingsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeSmbSettingsResponse.Builder,DescribeSmbSettingsResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeSmbSettingsResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeSmbSettingsResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-