@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSystem extends Object implements Serializable, Cloneable, StructuredPojo
A description of a specific Amazon FSx file system.
Constructor and Description |
---|
FileSystem() |
Modifier and Type | Method and Description |
---|---|
FileSystem |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
|
String |
getDNSName()
The DNS name for the file system.
|
FileSystemFailureDetails |
getFailureDetails() |
String |
getFileSystemId()
The system-generated, unique 17-digit ID of the file system.
|
String |
getFileSystemType()
The type of Amazon FSx file system, either
LUSTRE or WINDOWS . |
String |
getKmsKeyId()
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.
|
String |
getLifecycle()
The lifecycle status of the file system, following are the possible values and what they mean:
|
LustreFileSystemConfiguration |
getLustreConfiguration() |
List<String> |
getNetworkInterfaceIds()
The IDs of the elastic network interface from which a specific file system is accessible.
|
String |
getOwnerId()
The AWS account that created the file system.
|
String |
getResourceARN()
The Amazon Resource Name (ARN) for the file system resource.
|
Integer |
getStorageCapacity()
The storage capacity of the file system in gigabytes (GB).
|
List<String> |
getSubnetIds()
The ID of the subnet to contain the endpoint for the file system.
|
List<Tag> |
getTags()
The tags to associate with the file system.
|
String |
getVpcId()
The ID of the primary VPC for the file system.
|
WindowsFileSystemConfiguration |
getWindowsConfiguration()
The configuration for this Microsoft Windows file system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
|
void |
setDNSName(String dNSName)
The DNS name for the file system.
|
void |
setFailureDetails(FileSystemFailureDetails failureDetails) |
void |
setFileSystemId(String fileSystemId)
The system-generated, unique 17-digit ID of the file system.
|
void |
setFileSystemType(String fileSystemType)
The type of Amazon FSx file system, either
LUSTRE or WINDOWS . |
void |
setKmsKeyId(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.
|
void |
setLifecycle(String lifecycle)
The lifecycle status of the file system, following are the possible values and what they mean:
|
void |
setLustreConfiguration(LustreFileSystemConfiguration lustreConfiguration) |
void |
setNetworkInterfaceIds(Collection<String> networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible.
|
void |
setOwnerId(String ownerId)
The AWS account that created the file system.
|
void |
setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the file system resource.
|
void |
setStorageCapacity(Integer storageCapacity)
The storage capacity of the file system in gigabytes (GB).
|
void |
setSubnetIds(Collection<String> subnetIds)
The ID of the subnet to contain the endpoint for the file system.
|
void |
setTags(Collection<Tag> tags)
The tags to associate with the file system.
|
void |
setVpcId(String vpcId)
The ID of the primary VPC for the file system.
|
void |
setWindowsConfiguration(WindowsFileSystemConfiguration windowsConfiguration)
The configuration for this Microsoft Windows file system.
|
String |
toString()
Returns a string representation of this object.
|
FileSystem |
withCreationTime(Date creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
|
FileSystem |
withDNSName(String dNSName)
The DNS name for the file system.
|
FileSystem |
withFailureDetails(FileSystemFailureDetails failureDetails) |
FileSystem |
withFileSystemId(String fileSystemId)
The system-generated, unique 17-digit ID of the file system.
|
FileSystem |
withFileSystemType(FileSystemType fileSystemType)
The type of Amazon FSx file system, either
LUSTRE or WINDOWS . |
FileSystem |
withFileSystemType(String fileSystemType)
The type of Amazon FSx file system, either
LUSTRE or WINDOWS . |
FileSystem |
withKmsKeyId(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.
|
FileSystem |
withLifecycle(FileSystemLifecycle lifecycle)
The lifecycle status of the file system, following are the possible values and what they mean:
|
FileSystem |
withLifecycle(String lifecycle)
The lifecycle status of the file system, following are the possible values and what they mean:
|
FileSystem |
withLustreConfiguration(LustreFileSystemConfiguration lustreConfiguration) |
FileSystem |
withNetworkInterfaceIds(Collection<String> networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible.
|
FileSystem |
withNetworkInterfaceIds(String... networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible.
|
FileSystem |
withOwnerId(String ownerId)
The AWS account that created the file system.
|
FileSystem |
withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the file system resource.
|
FileSystem |
withStorageCapacity(Integer storageCapacity)
The storage capacity of the file system in gigabytes (GB).
|
FileSystem |
withSubnetIds(Collection<String> subnetIds)
The ID of the subnet to contain the endpoint for the file system.
|
FileSystem |
withSubnetIds(String... subnetIds)
The ID of the subnet to contain the endpoint for the file system.
|
FileSystem |
withTags(Collection<Tag> tags)
The tags to associate with the file system.
|
FileSystem |
withTags(Tag... tags)
The tags to associate with the file system.
|
FileSystem |
withVpcId(String vpcId)
The ID of the primary VPC for the file system.
|
FileSystem |
withWindowsConfiguration(WindowsFileSystemConfiguration windowsConfiguration)
The configuration for this Microsoft Windows file system.
|
public void setOwnerId(String ownerId)
The AWS account that created the file system. If the file system was created by an AWS Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs is the owner.
ownerId
- The AWS account that created the file system. If the file system was created by an AWS Identity and Access
Management (IAM) user, the AWS account to which the IAM user belongs is the owner.public String getOwnerId()
The AWS account that created the file system. If the file system was created by an AWS Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs is the owner.
public FileSystem withOwnerId(String ownerId)
The AWS account that created the file system. If the file system was created by an AWS Identity and Access Management (IAM) user, the AWS account to which the IAM user belongs is the owner.
ownerId
- The AWS account that created the file system. If the file system was created by an AWS Identity and Access
Management (IAM) user, the AWS account to which the IAM user belongs is the owner.public void setCreationTime(Date creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
creationTime
- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix
time.public Date getCreationTime()
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
public FileSystem withCreationTime(Date creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
creationTime
- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix
time.public void setFileSystemId(String fileSystemId)
The system-generated, unique 17-digit ID of the file system.
fileSystemId
- The system-generated, unique 17-digit ID of the file system.public String getFileSystemId()
The system-generated, unique 17-digit ID of the file system.
public FileSystem withFileSystemId(String fileSystemId)
The system-generated, unique 17-digit ID of the file system.
fileSystemId
- The system-generated, unique 17-digit ID of the file system.public void setFileSystemType(String fileSystemType)
The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.
fileSystemType
- The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.FileSystemType
public String getFileSystemType()
The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.
LUSTRE
or WINDOWS
.FileSystemType
public FileSystem withFileSystemType(String fileSystemType)
The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.
fileSystemType
- The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.FileSystemType
public FileSystem withFileSystemType(FileSystemType fileSystemType)
The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.
fileSystemType
- The type of Amazon FSx file system, either LUSTRE
or WINDOWS
.FileSystemType
public void setLifecycle(String lifecycle)
The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
lifecycle
- The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
FileSystemLifecycle
public String getLifecycle()
The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
FileSystemLifecycle
public FileSystem withLifecycle(String lifecycle)
The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
lifecycle
- The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
FileSystemLifecycle
public FileSystem withLifecycle(FileSystemLifecycle lifecycle)
The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
lifecycle
- The lifecycle status of the file system, 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
indicates that the file system is in a failed but recoverable state.
UPDATING
indicates that the file system is undergoing a customer initiated update.
FileSystemLifecycle
public void setFailureDetails(FileSystemFailureDetails failureDetails)
failureDetails
- public FileSystemFailureDetails getFailureDetails()
public FileSystem withFailureDetails(FileSystemFailureDetails failureDetails)
failureDetails
- public void setStorageCapacity(Integer storageCapacity)
The storage capacity of the file system in gigabytes (GB).
storageCapacity
- The storage capacity of the file system in gigabytes (GB).public Integer getStorageCapacity()
The storage capacity of the file system in gigabytes (GB).
public FileSystem withStorageCapacity(Integer storageCapacity)
The storage capacity of the file system in gigabytes (GB).
storageCapacity
- The storage capacity of the file system in gigabytes (GB).public void setVpcId(String vpcId)
The ID of the primary VPC for the file system.
vpcId
- The ID of the primary VPC for the file system.public String getVpcId()
The ID of the primary VPC for the file system.
public FileSystem withVpcId(String vpcId)
The ID of the primary VPC for the file system.
vpcId
- The ID of the primary VPC for the file system.public List<String> getSubnetIds()
The ID of the subnet 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.
public void setSubnetIds(Collection<String> subnetIds)
The ID of the subnet 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.
subnetIds
- The ID of the subnet 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.public FileSystem withSubnetIds(String... subnetIds)
The ID of the subnet 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.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The ID of the subnet 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.public FileSystem withSubnetIds(Collection<String> subnetIds)
The ID of the subnet 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.
subnetIds
- The ID of the subnet 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.public List<String> getNetworkInterfaceIds()
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.
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 void setNetworkInterfaceIds(Collection<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.
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.
public FileSystem withNetworkInterfaceIds(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.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaceIds(java.util.Collection)
or withNetworkInterfaceIds(java.util.Collection)
if you want to override the existing values.
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.
public FileSystem withNetworkInterfaceIds(Collection<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.
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.
public void setDNSName(String dNSName)
The DNS name for the file system.
dNSName
- The DNS name for the file system.public String getDNSName()
The DNS name for the file system.
public FileSystem withDNSName(String dNSName)
The DNS name for the file system.
dNSName
- The DNS name for the file system.public void setKmsKeyId(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.
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 getKmsKeyId()
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 FileSystem withKmsKeyId(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.
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 void setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the file system resource.
resourceARN
- The Amazon Resource Name (ARN) for the file system resource.public String getResourceARN()
The Amazon Resource Name (ARN) for the file system resource.
public FileSystem withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the file system resource.
resourceARN
- The Amazon Resource Name (ARN) for the file system resource.public List<Tag> getTags()
The tags to associate with the file system. For more information, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide.
public void setTags(Collection<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.
tags
- The tags to associate with the file system. For more information, see Tagging Your Amazon EC2
Resources in the Amazon EC2 User Guide.public FileSystem withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to associate with the file system. For more information, see Tagging Your Amazon EC2
Resources in the Amazon EC2 User Guide.public FileSystem withTags(Collection<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.
tags
- The tags to associate with the file system. For more information, see Tagging Your Amazon EC2
Resources in the Amazon EC2 User Guide.public void setWindowsConfiguration(WindowsFileSystemConfiguration windowsConfiguration)
The configuration for this Microsoft Windows file system.
windowsConfiguration
- The configuration for this Microsoft Windows file system.public WindowsFileSystemConfiguration getWindowsConfiguration()
The configuration for this Microsoft Windows file system.
public FileSystem withWindowsConfiguration(WindowsFileSystemConfiguration windowsConfiguration)
The configuration for this Microsoft Windows file system.
windowsConfiguration
- The configuration for this Microsoft Windows file system.public void setLustreConfiguration(LustreFileSystemConfiguration lustreConfiguration)
lustreConfiguration
- public LustreFileSystemConfiguration getLustreConfiguration()
public FileSystem withLustreConfiguration(LustreFileSystemConfiguration lustreConfiguration)
lustreConfiguration
- public String toString()
toString
in class Object
Object.toString()
public FileSystem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.