Class UpdateFileSystemRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFileSystemRequest.Builder,UpdateFileSystemRequest>
The request object for the UpdateFileSystem operation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringA string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe ID of the file system that you are updating.final StringThe Lustre version you are updating an FSx for Lustre file system to.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()Returns the value of the LustreConfiguration property for this object.final NetworkTypeChanges the network type of an FSx for OpenZFS file system.final StringChanges the network type of an FSx for OpenZFS file system.Returns the value of the OntapConfiguration property for this object.The configuration updates for an FSx for OpenZFS file system.static Class<? extends UpdateFileSystemRequest.Builder> final IntegerUse this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system.final StorageTypeReturns the value of the StorageType property for this object.final StringReturns the value of the StorageType property for this object.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.The configuration updates for an Amazon FSx for Windows File Server file system.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
fileSystemId
The ID of the file system that you are updating.
- Returns:
- The ID of the file system that you are updating.
-
clientRequestToken
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
- Returns:
- A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
-
storageCapacity
Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file system that you're updating.
You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2,PERSISTENT_1, andPERSISTENT_2 SSDdeployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDDfile systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the FSx for Lustre User Guide.
For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity in the FSx for OpenZFS User Guide.
For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSxfor Windows File Server User Guide.
For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see File system storage capacity and IOPS in the Amazon FSx for NetApp ONTAP User Guide.
- Returns:
- Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre,
FSx for OpenZFS, or FSx for ONTAP file system. For second-generation FSx for ONTAP file systems, you can
also decrease the storage capacity. Specifies the storage capacity target value, in GiB, for the file
system that you're updating.
You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2,PERSISTENT_1, andPERSISTENT_2 SSDdeployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDDfile systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the FSx for Lustre User Guide.
For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity in the FSx for OpenZFS User Guide.
For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSxfor Windows File Server User Guide.
For ONTAP file systems, when increasing storage capacity, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. When decreasing storage capacity on second-generation file systems, the target value must be at least 9 percent smaller than the current SSD storage capacity. For more information, see File system storage capacity and IOPS in the Amazon FSx for NetApp ONTAP User Guide.
-
-
-
windowsConfiguration
The configuration updates for an Amazon FSx for Windows File Server file system.
- Returns:
- The configuration updates for an Amazon FSx for Windows File Server file system.
-
lustreConfiguration
Returns the value of the LustreConfiguration property for this object.- Returns:
- The value of the LustreConfiguration property for this object.
-
ontapConfiguration
Returns the value of the OntapConfiguration property for this object.- Returns:
- The value of the OntapConfiguration property for this object.
-
openZFSConfiguration
The configuration updates for an FSx for OpenZFS file system.
- Returns:
- The configuration updates for an FSx for OpenZFS file system.
-
storageType
Returns the value of the StorageType property for this object.If the service returns an enum value that is not available in the current SDK version,
storageTypewill returnStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageTypeAsString().- Returns:
- The value of the StorageType property for this object.
- See Also:
-
storageTypeAsString
Returns the value of the StorageType property for this object.If the service returns an enum value that is not available in the current SDK version,
storageTypewill returnStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageTypeAsString().- Returns:
- The value of the StorageType property for this object.
- See Also:
-
fileSystemTypeVersion
The Lustre version you are updating an FSx for Lustre file system to. Valid values are
2.12and2.15. The value you choose must be newer than the file system's current Lustre version.- Returns:
- The Lustre version you are updating an FSx for Lustre file system to. Valid values are
2.12and2.15. The value you choose must be newer than the file system's current Lustre version.
-
networkType
Changes the network type of an FSx for OpenZFS file system.
If the service returns an enum value that is not available in the current SDK version,
networkTypewill returnNetworkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkTypeAsString().- Returns:
- Changes the network type of an FSx for OpenZFS file system.
- See Also:
-
networkTypeAsString
Changes the network type of an FSx for OpenZFS file system.
If the service returns an enum value that is not available in the current SDK version,
networkTypewill returnNetworkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkTypeAsString().- Returns:
- Changes the network type of an FSx for OpenZFS file system.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFileSystemRequest.Builder,UpdateFileSystemRequest> - Specified by:
toBuilderin classFSxRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-