Class FileSystem
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FileSystem.Builder,
FileSystem>
A description of a specific Amazon FSx file system.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal List
<AdministrativeAction> A list of administrative actions for the file system that are in process or waiting to be processed.static FileSystem.Builder
builder()
final Instant
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.final String
dnsName()
The Domain Name System (DNS) name for the file system.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FileSystemFailureDetails
Returns the value of the FailureDetails property for this object.final String
The system-generated, unique 17-digit ID of the file system.final FileSystemType
The type of Amazon FSx file system, which can beLUSTRE
,WINDOWS
,ONTAP
, orOPENZFS
.final String
The type of Amazon FSx file system, which can beLUSTRE
,WINDOWS
,ONTAP
, orOPENZFS
.final String
The Lustre version of the Amazon FSx for Lustre file system, which can be2.10
,2.12
, or2.15
.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AdministrativeActions property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the NetworkInterfaceIds property.final boolean
For responses, this returns true if the service returned a value for the SubnetIds property.final boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.final String
kmsKeyId()
The ID of the Key Management Service (KMS) key used to encrypt Amazon FSx file system data.final FileSystemLifecycle
The lifecycle status of the file system.final String
The lifecycle status of the file system.Returns the value of the LustreConfiguration property for this object.The IDs of the elastic network interfaces from which a specific file system is accessible.The configuration for this Amazon FSx for NetApp ONTAP file system.The configuration for this Amazon FSx for OpenZFS file system.final String
ownerId()
The Amazon Web Services account that created the file system.final String
The Amazon Resource Name (ARN) of the file system resource.static Class
<? extends FileSystem.Builder> final Integer
The storage capacity of the file system in gibibytes (GiB).final StorageType
The type of storage the file system is using.final String
The type of storage the file system is using.Specifies the IDs of the subnets that the file system is accessible from.tags()
The tags to associate with the file system.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
vpcId()
The ID of the primary virtual private cloud (VPC) for the file system.The configuration for this Amazon FSx for Windows File Server file system.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
ownerId
The Amazon Web Services account that created the file system. If the file system was created by a user in IAM Identity Center, the Amazon Web Services account to which the IAM user belongs is the owner.
- Returns:
- The Amazon Web Services account that created the file system. If the file system was created by a user in IAM Identity Center, the Amazon Web Services account to which the IAM user belongs is the owner.
-
creationTime
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
- Returns:
- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
-
fileSystemId
The system-generated, unique 17-digit ID of the file system.
- Returns:
- The system-generated, unique 17-digit ID of the file system.
-
fileSystemType
The type of Amazon FSx file system, which can be
LUSTRE
,WINDOWS
,ONTAP
, orOPENZFS
.If the service returns an enum value that is not available in the current SDK version,
fileSystemType
will returnFileSystemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfileSystemTypeAsString()
.- Returns:
- The type of Amazon FSx file system, which can be
LUSTRE
,WINDOWS
,ONTAP
, orOPENZFS
. - See Also:
-
fileSystemTypeAsString
The type of Amazon FSx file system, which can be
LUSTRE
,WINDOWS
,ONTAP
, orOPENZFS
.If the service returns an enum value that is not available in the current SDK version,
fileSystemType
will returnFileSystemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfileSystemTypeAsString()
.- Returns:
- The type of Amazon FSx file system, which can be
LUSTRE
,WINDOWS
,ONTAP
, orOPENZFS
. - See Also:
-
lifecycle
The lifecycle status of the file system. The following are the possible values and what they mean:
-
AVAILABLE
- The file system is in a healthy state, and is reachable and available for use. -
CREATING
- Amazon FSx is creating the new file system. -
DELETING
- Amazon FSx is deleting an existing file system. -
FAILED
- An existing file system has experienced an unrecoverable failure. When creating a new file system, Amazon FSx was unable to create the file system. -
MISCONFIGURED
- The file system is in a failed but recoverable state. -
MISCONFIGURED_UNAVAILABLE
- (Amazon FSx for Windows File Server only) The file system is currently unavailable due to a change in your Active Directory configuration. -
UPDATING
- The file system is undergoing a customer-initiated update.
If the service returns an enum value that is not available in the current SDK version,
lifecycle
will returnFileSystemLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlifecycleAsString()
.- Returns:
- The lifecycle status of the file system. The following are the possible values and what they mean:
-
AVAILABLE
- The file system is in a healthy state, and is reachable and available for use. -
CREATING
- Amazon FSx is creating the new file system. -
DELETING
- Amazon FSx is deleting an existing file system. -
FAILED
- An existing file system has experienced an unrecoverable failure. When creating a new file system, Amazon FSx was unable to create the file system. -
MISCONFIGURED
- The file system is in a failed but recoverable state. -
MISCONFIGURED_UNAVAILABLE
- (Amazon FSx for Windows File Server only) The file system is currently unavailable due to a change in your Active Directory configuration. -
UPDATING
- The file system is undergoing a customer-initiated update.
-
- See Also:
-
-
lifecycleAsString
The lifecycle status of the file system. The following are the possible values and what they mean:
-
AVAILABLE
- The file system is in a healthy state, and is reachable and available for use. -
CREATING
- Amazon FSx is creating the new file system. -
DELETING
- Amazon FSx is deleting an existing file system. -
FAILED
- An existing file system has experienced an unrecoverable failure. When creating a new file system, Amazon FSx was unable to create the file system. -
MISCONFIGURED
- The file system is in a failed but recoverable state. -
MISCONFIGURED_UNAVAILABLE
- (Amazon FSx for Windows File Server only) The file system is currently unavailable due to a change in your Active Directory configuration. -
UPDATING
- The file system is undergoing a customer-initiated update.
If the service returns an enum value that is not available in the current SDK version,
lifecycle
will returnFileSystemLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlifecycleAsString()
.- Returns:
- The lifecycle status of the file system. The following are the possible values and what they mean:
-
AVAILABLE
- The file system is in a healthy state, and is reachable and available for use. -
CREATING
- Amazon FSx is creating the new file system. -
DELETING
- Amazon FSx is deleting an existing file system. -
FAILED
- An existing file system has experienced an unrecoverable failure. When creating a new file system, Amazon FSx was unable to create the file system. -
MISCONFIGURED
- The file system is in a failed but recoverable state. -
MISCONFIGURED_UNAVAILABLE
- (Amazon FSx for Windows File Server only) The file system is currently unavailable due to a change in your Active Directory configuration. -
UPDATING
- The file system is undergoing a customer-initiated update.
-
- See Also:
-
-
failureDetails
Returns the value of the FailureDetails property for this object.- Returns:
- The value of the FailureDetails property for this object.
-
storageCapacity
The storage capacity of the file system in gibibytes (GiB).
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of
StorageCapacity
is outside of the minimum or maximum values.- Returns:
- The storage capacity of the file system in gibibytes (GiB).
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of
StorageCapacity
is outside of the minimum or maximum values.
-
storageType
The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage.If the service returns an enum value that is not available in the current SDK version,
storageType
will returnStorageType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstorageTypeAsString()
.- Returns:
- The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - See Also:
-
storageTypeAsString
The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage.If the service returns an enum value that is not available in the current SDK version,
storageType
will returnStorageType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstorageTypeAsString()
.- Returns:
- The type of storage the file system is using. If set to
SSD
, the file system uses solid state drive storage. If set toHDD
, the file system uses hard disk drive storage. - See Also:
-
vpcId
The ID of the primary virtual private cloud (VPC) for the file system.
- Returns:
- The ID of the primary virtual private cloud (VPC) for the file system.
-
hasSubnetIds
public final boolean hasSubnetIds()For responses, this returns true if the service returned a value for the SubnetIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
subnetIds
Specifies the IDs of the subnets that the file system is accessible from. For the Amazon FSx Windows and ONTAP
MULTI_AZ_1
file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in thePreferredSubnetID
property. All other file systems have only one subnet ID.For FSx for Lustre file systems, and Single-AZ Windows file systems, this is the ID of the subnet that contains the file system's endpoint. For
MULTI_AZ_1
Windows and ONTAP file systems, the file system endpoint is available in thePreferredSubnetID
.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSubnetIds()
method.- Returns:
- Specifies the IDs of the subnets that the file system is accessible from. For the Amazon FSx Windows and
ONTAP
MULTI_AZ_1
file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in thePreferredSubnetID
property. All other file systems have only one subnet ID.For FSx for Lustre file systems, and Single-AZ Windows file systems, this is the ID of the subnet that contains the file system's endpoint. For
MULTI_AZ_1
Windows and ONTAP file systems, the file system endpoint is available in thePreferredSubnetID
.
-
hasNetworkInterfaceIds
public final boolean hasNetworkInterfaceIds()For responses, this returns true if the service returned a value for the NetworkInterfaceIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
networkInterfaceIds
The IDs of the elastic network interfaces from which a specific file system is accessible. The elastic network interface is automatically created in the same virtual private cloud (VPC) that the Amazon FSx file system was created in. For more information, see Elastic Network Interfaces in the Amazon EC2 User Guide.
For an Amazon FSx for Windows File Server file system, you can have one network interface ID. For an Amazon FSx for Lustre file system, you can have more than one.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNetworkInterfaceIds()
method.- Returns:
- The IDs of the elastic network interfaces from which a specific file system is accessible. The elastic
network interface is automatically created in the same virtual private cloud (VPC) that the Amazon FSx
file system was created in. For more information, see Elastic Network Interfaces
in the Amazon EC2 User Guide.
For an Amazon FSx for Windows File Server file system, you can have one network interface ID. For an Amazon FSx for Lustre file system, you can have more than one.
-
dnsName
The Domain Name System (DNS) name for the file system.
- Returns:
- The Domain Name System (DNS) name for the file system.
-
kmsKeyId
The ID of the Key Management Service (KMS) key used to encrypt Amazon FSx file system data. Used as follows with Amazon FSx file system types:
-
Amazon FSx for Lustre
PERSISTENT_1
andPERSISTENT_2
deployment types only.SCRATCH_1
andSCRATCH_2
types are encrypted using the Amazon FSx service KMS key for your account. -
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
- Returns:
- The ID of the Key Management Service (KMS) key used to encrypt Amazon FSx file system data. Used as
follows with Amazon FSx file system types:
-
Amazon FSx for Lustre
PERSISTENT_1
andPERSISTENT_2
deployment types only.SCRATCH_1
andSCRATCH_2
types are encrypted using the Amazon FSx service KMS key for your account. -
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
-
-
-
resourceARN
The Amazon Resource Name (ARN) of the file system resource.
- Returns:
- The Amazon Resource Name (ARN) of the file system resource.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tags
The tags to associate with the file system. For more information, see Tagging your Amazon FSx resources in the Amazon FSx for Lustre User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()
method.- Returns:
- The tags to associate with the file system. For more information, see Tagging your Amazon FSx resources in the Amazon FSx for Lustre User Guide.
-
windowsConfiguration
The configuration for this Amazon FSx for Windows File Server file system.
- Returns:
- The configuration for this 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.
-
hasAdministrativeActions
public final boolean hasAdministrativeActions()For responses, this returns true if the service returned a value for the AdministrativeActions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
administrativeActions
A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system that you have initiated using the
UpdateFileSystem
operation.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAdministrativeActions()
method.- Returns:
- A list of administrative actions for the file system that are in process or waiting to be processed.
Administrative actions describe changes to the Amazon FSx system that you have initiated using the
UpdateFileSystem
operation.
-
ontapConfiguration
The configuration for this Amazon FSx for NetApp ONTAP file system.
- Returns:
- The configuration for this Amazon FSx for NetApp ONTAP file system.
-
fileSystemTypeVersion
The Lustre version of the Amazon FSx for Lustre file system, which can be
2.10
,2.12
, or2.15
.- Returns:
- The Lustre version of the Amazon FSx for Lustre file system, which can be
2.10
,2.12
, or2.15
.
-
openZFSConfiguration
The configuration for this Amazon FSx for OpenZFS file system.
- Returns:
- The configuration for this Amazon FSx for OpenZFS file system.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<FileSystem.Builder,
FileSystem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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
-
sdkFields
-