@Generated(value="software.amazon.awssdk:codegen") public final class UpdateSmbSecurityStrategyRequest extends StorageGatewayRequest implements ToCopyableBuilder<UpdateSmbSecurityStrategyRequest.Builder,UpdateSmbSecurityStrategyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateSmbSecurityStrategyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateSmbSecurityStrategyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateSmbSecurityStrategyRequest.Builder> |
serializableBuilderClass() |
SMBSecurityStrategy |
smbSecurityStrategy()
Specifies the type of security strategy.
|
String |
smbSecurityStrategyAsString()
Specifies the type of security strategy.
|
UpdateSmbSecurityStrategyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String gatewayARN()
public final SMBSecurityStrategy smbSecurityStrategy()
Specifies the type of security strategy.
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. Supported only in S3 File Gateway.
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.
If the service returns an enum value that is not available in the current SDK version,
smbSecurityStrategy will return SMBSecurityStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from smbSecurityStrategyAsString().
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. Supported only in S3 File Gateway.
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.
SMBSecurityStrategypublic final String smbSecurityStrategyAsString()
Specifies the type of security strategy.
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. Supported only in S3 File Gateway.
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.
If the service returns an enum value that is not available in the current SDK version,
smbSecurityStrategy will return SMBSecurityStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from smbSecurityStrategyAsString().
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. Supported only in S3 File Gateway.
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.
SMBSecurityStrategypublic UpdateSmbSecurityStrategyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateSmbSecurityStrategyRequest.Builder,UpdateSmbSecurityStrategyRequest>toBuilder in class StorageGatewayRequestpublic static UpdateSmbSecurityStrategyRequest.Builder builder()
public static Class<? extends UpdateSmbSecurityStrategyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.