Class UpdateSmbSecurityStrategyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest
-
- software.amazon.awssdk.services.storagegateway.model.UpdateSmbSecurityStrategyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateSmbSecurityStrategyRequest.Builder,UpdateSmbSecurityStrategyRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateSmbSecurityStrategyRequest extends StorageGatewayRequest implements ToCopyableBuilder<UpdateSmbSecurityStrategyRequest.Builder,UpdateSmbSecurityStrategyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateSmbSecurityStrategyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateSmbSecurityStrategyRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)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 UpdateSmbSecurityStrategyRequest.Builder>serializableBuilderClass()SMBSecurityStrategysmbSecurityStrategy()Specifies the type of security strategy.StringsmbSecurityStrategyAsString()Specifies the type of security strategy.UpdateSmbSecurityStrategyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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.
-
smbSecurityStrategy
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,
smbSecurityStrategywill returnSMBSecurityStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsmbSecurityStrategyAsString().- Returns:
- 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.
- See Also:
SMBSecurityStrategy
-
smbSecurityStrategyAsString
public 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,
smbSecurityStrategywill returnSMBSecurityStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsmbSecurityStrategyAsString().- Returns:
- 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.
- See Also:
SMBSecurityStrategy
-
toBuilder
public UpdateSmbSecurityStrategyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateSmbSecurityStrategyRequest.Builder,UpdateSmbSecurityStrategyRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static UpdateSmbSecurityStrategyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateSmbSecurityStrategyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-