Class OpenZFSReadCacheConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.OpenZFSReadCacheConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpenZFSReadCacheConfiguration.Builder,OpenZFSReadCacheConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class OpenZFSReadCacheConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpenZFSReadCacheConfiguration.Builder,OpenZFSReadCacheConfiguration>
The configuration for the optional provisioned SSD read cache on file systems that use the Intelligent-Tiering storage class.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpenZFSReadCacheConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenZFSReadCacheConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OpenZFSReadCacheConfiguration.Builder>serializableBuilderClass()IntegersizeGiB()Required ifSizingModeis set toUSER_PROVISIONED.OpenZFSReadCacheSizingModesizingMode()Specifies how the provisioned SSD read cache is sized, as follows:StringsizingModeAsString()Specifies how the provisioned SSD read cache is sized, as follows:OpenZFSReadCacheConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
sizingMode
public final OpenZFSReadCacheSizingMode sizingMode()
Specifies how the provisioned SSD read cache is sized, as follows:
-
Set to
NO_CACHEif you do not want to use an SSD read cache with your Intelligent-Tiering file system. -
Set to
USER_PROVISIONEDto specify the exact size of your SSD read cache. -
Set to
PROPORTIONAL_TO_THROUGHPUT_CAPACITYto have your SSD read cache automatically sized based on your throughput capacity.
If the service returns an enum value that is not available in the current SDK version,
sizingModewill returnOpenZFSReadCacheSizingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsizingModeAsString().- Returns:
- Specifies how the provisioned SSD read cache is sized, as follows:
-
Set to
NO_CACHEif you do not want to use an SSD read cache with your Intelligent-Tiering file system. -
Set to
USER_PROVISIONEDto specify the exact size of your SSD read cache. -
Set to
PROPORTIONAL_TO_THROUGHPUT_CAPACITYto have your SSD read cache automatically sized based on your throughput capacity.
-
- See Also:
OpenZFSReadCacheSizingMode
-
-
sizingModeAsString
public final String sizingModeAsString()
Specifies how the provisioned SSD read cache is sized, as follows:
-
Set to
NO_CACHEif you do not want to use an SSD read cache with your Intelligent-Tiering file system. -
Set to
USER_PROVISIONEDto specify the exact size of your SSD read cache. -
Set to
PROPORTIONAL_TO_THROUGHPUT_CAPACITYto have your SSD read cache automatically sized based on your throughput capacity.
If the service returns an enum value that is not available in the current SDK version,
sizingModewill returnOpenZFSReadCacheSizingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsizingModeAsString().- Returns:
- Specifies how the provisioned SSD read cache is sized, as follows:
-
Set to
NO_CACHEif you do not want to use an SSD read cache with your Intelligent-Tiering file system. -
Set to
USER_PROVISIONEDto specify the exact size of your SSD read cache. -
Set to
PROPORTIONAL_TO_THROUGHPUT_CAPACITYto have your SSD read cache automatically sized based on your throughput capacity.
-
- See Also:
OpenZFSReadCacheSizingMode
-
-
sizeGiB
public final Integer sizeGiB()
Required if
SizingModeis set toUSER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB).- Returns:
- Required if
SizingModeis set toUSER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB).
-
toBuilder
public OpenZFSReadCacheConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OpenZFSReadCacheConfiguration.Builder,OpenZFSReadCacheConfiguration>
-
builder
public static OpenZFSReadCacheConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends OpenZFSReadCacheConfiguration.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-