@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 |
---|---|
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 DNS name for the file system.
|
boolean |
equals(Object obj) |
FileSystemFailureDetails |
failureDetails()
Returns the value of the FailureDetails property for this object.
|
String |
fileSystemId()
The eight-digit ID of the file system that was automatically assigned by Amazon FSx.
|
FileSystemType |
fileSystemType()
Type of file system.
|
String |
fileSystemTypeAsString()
Type of file system.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for an Amazon FSx
for Windows File Server file system.
|
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 interface from which a specific file system is accessible.
|
String |
ownerId()
The AWS account that created the file system.
|
String |
resourceARN()
The resource ARN of the file system.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FileSystem.Builder> |
serializableBuilderClass() |
Integer |
storageCapacity()
The storage capacity of the file system in gigabytes.
|
List<String> |
subnetIds()
The IDs of the subnets to contain the endpoint for the file system.
|
List<Tag> |
tags()
The tags to associate with the file system.
|
FileSystem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The ID of the primary VPC for the file system.
|
WindowsFileSystemConfiguration |
windowsConfiguration()
The configuration for this Microsoft Windows file system.
|
copy
public String ownerId()
The AWS account that created the file system. If the file system was created by an IAM user, the AWS account to which the IAM user belongs is the owner.
public Instant creationTime()
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
public String fileSystemId()
The eight-digit ID of the file system that was automatically assigned by Amazon FSx.
public FileSystemType fileSystemType()
Type of file system. Currently the only supported type is WINDOWS.
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()
.
FileSystemType
public String fileSystemTypeAsString()
Type of file system. Currently the only supported type is WINDOWS.
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()
.
FileSystemType
public FileSystemLifecycle lifecycle()
The lifecycle status of the file system.
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()
.
FileSystemLifecycle
public String lifecycleAsString()
The lifecycle status of the file system.
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()
.
FileSystemLifecycle
public FileSystemFailureDetails failureDetails()
public Integer storageCapacity()
The storage capacity of the file system in gigabytes.
public String vpcId()
The ID of the primary VPC for the file system.
public List<String> subnetIds()
The IDs of the subnets to contain the endpoint for the file system. One and only one is supported. The file system is launched in the Availability Zone associated with this subnet.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> networkInterfaceIds()
The IDs of the elastic network interface from which a specific file system is accessible. The elastic network interface is automatically created in the same 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.
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 String dnsName()
The DNS name for the file system.
public String kmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for an Amazon FSx for Windows File Server file system.
public String resourceARN()
The resource ARN of the file system.
public 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.
public WindowsFileSystemConfiguration windowsConfiguration()
The configuration for this Microsoft Windows file system.
public LustreFileSystemConfiguration lustreConfiguration()
public FileSystem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FileSystem.Builder,FileSystem>
public static FileSystem.Builder builder()
public static Class<? extends FileSystem.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.