@Generated(value="software.amazon.awssdk:codegen") public final class FileSystem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileSystem.Builder,FileSystem>
A description of a specific Amazon FSx file system.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileSystem.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AdministrativeAction> |
administrativeActions()
A list of administrative actions for the file system that are in process or waiting to be processed.
|
static FileSystem.Builder |
builder() |
Instant |
creationTime()
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
|
String |
dnsName()
The Domain Name System (DNS) name for the file system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FileSystemFailureDetails |
failureDetails()
Returns the value of the FailureDetails property for this object.
|
String |
fileSystemId()
The system-generated, unique 17-digit ID of the file system.
|
FileSystemType |
fileSystemType()
The type of Amazon FSx file system, which can be
LUSTRE, WINDOWS, ONTAP,
or OPENZFS. |
String |
fileSystemTypeAsString()
The type of Amazon FSx file system, which can be
LUSTRE, WINDOWS, ONTAP,
or OPENZFS. |
String |
fileSystemTypeVersion()
The Lustre version of the Amazon FSx for Lustre file system, which can be
2.10, 2.12,
or 2.15. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdministrativeActions()
For responses, this returns true if the service returned a value for the AdministrativeActions property.
|
int |
hashCode() |
boolean |
hasNetworkInterfaceIds()
For responses, this returns true if the service returned a value for the NetworkInterfaceIds property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
kmsKeyId()
The ID of the Key Management Service (KMS) key used to encrypt Amazon FSx file system data.
|
FileSystemLifecycle |
lifecycle()
The lifecycle status of the file system.
|
String |
lifecycleAsString()
The lifecycle status of the file system.
|
LustreFileSystemConfiguration |
lustreConfiguration()
Returns the value of the LustreConfiguration property for this object.
|
List<String> |
networkInterfaceIds()
The IDs of the elastic network interfaces from which a specific file system is accessible.
|
OntapFileSystemConfiguration |
ontapConfiguration()
The configuration for this Amazon FSx for NetApp ONTAP file system.
|
OpenZFSFileSystemConfiguration |
openZFSConfiguration()
The configuration for this Amazon FSx for OpenZFS file system.
|
String |
ownerId()
The Amazon Web Services account that created the file system.
|
String |
resourceARN()
The Amazon Resource Name (ARN) of the file system resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FileSystem.Builder> |
serializableBuilderClass() |
Integer |
storageCapacity()
The storage capacity of the file system in gibibytes (GiB).
|
StorageType |
storageType()
The type of storage the file system is using.
|
String |
storageTypeAsString()
The type of storage the file system is using.
|
List<String> |
subnetIds()
Specifies the IDs of the subnets that the file system is accessible from.
|
List<Tag> |
tags()
The tags to associate with the file system.
|
FileSystem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the primary virtual private cloud (VPC) for the file system.
|
WindowsFileSystemConfiguration |
windowsConfiguration()
The configuration for this Amazon FSx for Windows File Server file system.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String 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.
public final Instant creationTime()
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
public final String fileSystemId()
The system-generated, unique 17-digit ID of the file system.
public final FileSystemType fileSystemType()
The type of Amazon FSx file system, which can be LUSTRE, WINDOWS, ONTAP,
or OPENZFS.
If the service returns an enum value that is not available in the current SDK version, fileSystemType
will return FileSystemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fileSystemTypeAsString().
LUSTRE, WINDOWS,
ONTAP, or OPENZFS.FileSystemTypepublic final String fileSystemTypeAsString()
The type of Amazon FSx file system, which can be LUSTRE, WINDOWS, ONTAP,
or OPENZFS.
If the service returns an enum value that is not available in the current SDK version, fileSystemType
will return FileSystemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fileSystemTypeAsString().
LUSTRE, WINDOWS,
ONTAP, or OPENZFS.FileSystemTypepublic final FileSystemLifecycle 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
return FileSystemLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from lifecycleAsString().
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.
FileSystemLifecyclepublic final String 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
return FileSystemLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from lifecycleAsString().
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.
FileSystemLifecyclepublic final FileSystemFailureDetails failureDetails()
public final Integer storageCapacity()
The storage capacity of the file system in gibibytes (GiB).
public final StorageType storageType()
The type of storage the file system is using. If set to SSD, the file system uses solid state drive
storage. If set to HDD, 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
return StorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
SSD, the file system uses solid
state drive storage. If set to HDD, the file system uses hard disk drive storage.StorageTypepublic final String storageTypeAsString()
The type of storage the file system is using. If set to SSD, the file system uses solid state drive
storage. If set to HDD, 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
return StorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
SSD, the file system uses solid
state drive storage. If set to HDD, the file system uses hard disk drive storage.StorageTypepublic final String vpcId()
The ID of the primary virtual private cloud (VPC) for the file system.
public final boolean hasSubnetIds()
isEmpty() 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.public final List<String> 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 the
PreferredSubnetID 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 the PreferredSubnetID.
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.
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
the PreferredSubnetID 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 the PreferredSubnetID.
public final boolean hasNetworkInterfaceIds()
isEmpty() 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.public final List<String> 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.
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.
public final String dnsName()
The Domain Name System (DNS) name for the file system.
public final String 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 and PERSISTENT_2 deployment types only.
SCRATCH_1 and SCRATCH_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
Amazon FSx for Lustre PERSISTENT_1 and PERSISTENT_2 deployment types only.
SCRATCH_1 and SCRATCH_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
public final String resourceARN()
The Amazon Resource Name (ARN) of the file system resource.
public final boolean hasTags()
isEmpty() 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.public final List<Tag> tags()
The tags to associate with the file system. For more information, see Tagging your Amazon EC2 resources in the Amazon EC2 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.
public final WindowsFileSystemConfiguration windowsConfiguration()
The configuration for this Amazon FSx for Windows File Server file system.
public final LustreFileSystemConfiguration lustreConfiguration()
public final boolean hasAdministrativeActions()
isEmpty() 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.public final List<AdministrativeAction> 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.
UpdateFileSystem operation.public final OntapFileSystemConfiguration ontapConfiguration()
The configuration for this Amazon FSx for NetApp ONTAP file system.
public final String fileSystemTypeVersion()
The Lustre version of the Amazon FSx for Lustre file system, which can be 2.10, 2.12,
or 2.15.
2.10,
2.12, or 2.15.public final OpenZFSFileSystemConfiguration openZFSConfiguration()
The configuration for this Amazon FSx for OpenZFS file system.
public FileSystem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FileSystem.Builder,FileSystem>public static FileSystem.Builder builder()
public static Class<? extends FileSystem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.