@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFileSystemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request object used to create a new Amazon FSx file system.
NOOP
Constructor and Description |
---|
CreateFileSystemRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFileSystemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
String |
getFileSystemType()
The type of Amazon FSx file system to create, either
WINDOWS or LUSTRE . |
String |
getKmsKeyId() |
CreateFileSystemLustreConfiguration |
getLustreConfiguration() |
List<String> |
getSecurityGroupIds()
A list of IDs specifying the security groups to apply to all network interfaces created for file system access.
|
Integer |
getStorageCapacity()
Sets the storage capacity of the file system that you're creating.
|
String |
getStorageType()
Sets the storage type for the file system you're creating.
|
List<String> |
getSubnetIds()
Specifies the IDs of the subnets that the file system will be accessible from.
|
List<Tag> |
getTags()
The tags to apply to the file system being created.
|
CreateFileSystemWindowsConfiguration |
getWindowsConfiguration()
The Microsoft Windows configuration for the file system being created.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
void |
setFileSystemType(String fileSystemType)
The type of Amazon FSx file system to create, either
WINDOWS or LUSTRE . |
void |
setKmsKeyId(String kmsKeyId) |
void |
setLustreConfiguration(CreateFileSystemLustreConfiguration lustreConfiguration) |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access.
|
void |
setStorageCapacity(Integer storageCapacity)
Sets the storage capacity of the file system that you're creating.
|
void |
setStorageType(String storageType)
Sets the storage type for the file system you're creating.
|
void |
setSubnetIds(Collection<String> subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from.
|
void |
setTags(Collection<Tag> tags)
The tags to apply to the file system being created.
|
void |
setWindowsConfiguration(CreateFileSystemWindowsConfiguration windowsConfiguration)
The Microsoft Windows configuration for the file system being created.
|
String |
toString()
Returns a string representation of this object.
|
CreateFileSystemRequest |
withClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
CreateFileSystemRequest |
withFileSystemType(FileSystemType fileSystemType)
The type of Amazon FSx file system to create, either
WINDOWS or LUSTRE . |
CreateFileSystemRequest |
withFileSystemType(String fileSystemType)
The type of Amazon FSx file system to create, either
WINDOWS or LUSTRE . |
CreateFileSystemRequest |
withKmsKeyId(String kmsKeyId) |
CreateFileSystemRequest |
withLustreConfiguration(CreateFileSystemLustreConfiguration lustreConfiguration) |
CreateFileSystemRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access.
|
CreateFileSystemRequest |
withSecurityGroupIds(String... securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access.
|
CreateFileSystemRequest |
withStorageCapacity(Integer storageCapacity)
Sets the storage capacity of the file system that you're creating.
|
CreateFileSystemRequest |
withStorageType(StorageType storageType)
Sets the storage type for the file system you're creating.
|
CreateFileSystemRequest |
withStorageType(String storageType)
Sets the storage type for the file system you're creating.
|
CreateFileSystemRequest |
withSubnetIds(Collection<String> subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from.
|
CreateFileSystemRequest |
withSubnetIds(String... subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from.
|
CreateFileSystemRequest |
withTags(Collection<Tag> tags)
The tags to apply to the file system being created.
|
CreateFileSystemRequest |
withTags(Tag... tags)
The tags to apply to the file system being created.
|
CreateFileSystemRequest |
withWindowsConfiguration(CreateFileSystemWindowsConfiguration windowsConfiguration)
The Microsoft Windows configuration for the file system being created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
clientRequestToken
- A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is
automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.public String getClientRequestToken()
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
public CreateFileSystemRequest withClientRequestToken(String clientRequestToken)
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
clientRequestToken
- A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is
automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.public void setFileSystemType(String fileSystemType)
The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.
fileSystemType
- The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.FileSystemType
public String getFileSystemType()
The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.
WINDOWS
or LUSTRE
.FileSystemType
public CreateFileSystemRequest withFileSystemType(String fileSystemType)
The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.
fileSystemType
- The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.FileSystemType
public CreateFileSystemRequest withFileSystemType(FileSystemType fileSystemType)
The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.
fileSystemType
- The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.FileSystemType
public void setStorageCapacity(Integer storageCapacity)
Sets the storage capacity of the file system that you're creating.
For Lustre file systems:
For SCRATCH_2
and PERSISTENT_1 SSD
deployment types, valid values are 1200 GiB, 2400
GiB, and increments of 2400 GiB.
For PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file
systems and increments of 1800 GiB for 40 MB/s/TiB file systems.
For SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.
For Windows file systems:
If StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB).
If StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
storageCapacity
- Sets the storage capacity of the file system that you're creating.
For Lustre file systems:
For SCRATCH_2
and PERSISTENT_1 SSD
deployment types, valid values are 1200 GiB,
2400 GiB, and increments of 2400 GiB.
For PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file
systems and increments of 1800 GiB for 40 MB/s/TiB file systems.
For SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600
GiB.
For Windows file systems:
If StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB).
If StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
public Integer getStorageCapacity()
Sets the storage capacity of the file system that you're creating.
For Lustre file systems:
For SCRATCH_2
and PERSISTENT_1 SSD
deployment types, valid values are 1200 GiB, 2400
GiB, and increments of 2400 GiB.
For PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file
systems and increments of 1800 GiB for 40 MB/s/TiB file systems.
For SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.
For Windows file systems:
If StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB).
If StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
For Lustre file systems:
For SCRATCH_2
and PERSISTENT_1 SSD
deployment types, valid values are 1200 GiB,
2400 GiB, and increments of 2400 GiB.
For PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB
file systems and increments of 1800 GiB for 40 MB/s/TiB file systems.
For SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600
GiB.
For Windows file systems:
If StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB).
If StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
public CreateFileSystemRequest withStorageCapacity(Integer storageCapacity)
Sets the storage capacity of the file system that you're creating.
For Lustre file systems:
For SCRATCH_2
and PERSISTENT_1 SSD
deployment types, valid values are 1200 GiB, 2400
GiB, and increments of 2400 GiB.
For PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file
systems and increments of 1800 GiB for 40 MB/s/TiB file systems.
For SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.
For Windows file systems:
If StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB).
If StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
storageCapacity
- Sets the storage capacity of the file system that you're creating.
For Lustre file systems:
For SCRATCH_2
and PERSISTENT_1 SSD
deployment types, valid values are 1200 GiB,
2400 GiB, and increments of 2400 GiB.
For PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file
systems and increments of 1800 GiB for 40 MB/s/TiB file systems.
For SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600
GiB.
For Windows file systems:
If StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB).
If StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
public void setStorageType(String storageType)
Sets the storage type for the file system you're creating. Valid values are SSD
and HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre deployment
types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file system
deployment types.
Default value is SSD
. For more information, see Storage
Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
storageType
- Sets the storage type for the file system you're creating. Valid values are SSD
and
HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre
deployment types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file
system deployment types.
Default value is SSD
. For more information, see
Storage Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
StorageType
public String getStorageType()
Sets the storage type for the file system you're creating. Valid values are SSD
and HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre deployment
types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file system
deployment types.
Default value is SSD
. For more information, see Storage
Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
SSD
and
HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre
deployment types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file
system deployment types.
Default value is SSD
. For more information, see
Storage Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
StorageType
public CreateFileSystemRequest withStorageType(String storageType)
Sets the storage type for the file system you're creating. Valid values are SSD
and HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre deployment
types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file system
deployment types.
Default value is SSD
. For more information, see Storage
Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
storageType
- Sets the storage type for the file system you're creating. Valid values are SSD
and
HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre
deployment types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file
system deployment types.
Default value is SSD
. For more information, see
Storage Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
StorageType
public CreateFileSystemRequest withStorageType(StorageType storageType)
Sets the storage type for the file system you're creating. Valid values are SSD
and HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre deployment
types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file system
deployment types.
Default value is SSD
. For more information, see Storage
Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
storageType
- Sets the storage type for the file system you're creating. Valid values are SSD
and
HDD
.
Set to SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre
deployment types.
Set to HDD
to use hard disk drive storage. HDD is supported on SINGLE_AZ_2
and
MULTI_AZ_1
Windows file system deployment types, and on PERSISTENT
Lustre file
system deployment types.
Default value is SSD
. For more information, see
Storage Type Options in the Amazon FSx for Windows User Guide and Multiple Storage
Options in the Amazon FSx for Lustre User Guide.
StorageType
public List<String> getSubnetIds()
Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file
server and one for the standby file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre file
systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the
preferred file server and one for the standby file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre
file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability
Zone.
public void setSubnetIds(Collection<String> subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file
server and one for the standby file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre file
systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
subnetIds
- Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the
preferred file server and one for the standby file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre
file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability
Zone.
public CreateFileSystemRequest withSubnetIds(String... subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file
server and one for the standby file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre file
systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
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
- Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the
preferred file server and one for the standby file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre
file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability
Zone.
public CreateFileSystemRequest withSubnetIds(Collection<String> subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file
server and one for the standby file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre file
systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
subnetIds
- Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the
preferred file server and one for the standby file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre
file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability
Zone.
public List<String> getSecurityGroupIds()
A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system.
securityGroupIds
- A list of IDs specifying the security groups to apply to all network interfaces created for file system
access. This list isn't returned in later requests to describe the file system.public CreateFileSystemRequest withSecurityGroupIds(String... securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- A list of IDs specifying the security groups to apply to all network interfaces created for file system
access. This list isn't returned in later requests to describe the file system.public CreateFileSystemRequest withSecurityGroupIds(Collection<String> securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system.
securityGroupIds
- A list of IDs specifying the security groups to apply to all network interfaces created for file system
access. This list isn't returned in later requests to describe the file system.public List<Tag> getTags()
The tags to apply to the file system being created. The key value of the Name
tag appears in the
console as the file system name.
Name
tag appears in
the console as the file system name.public void setTags(Collection<Tag> tags)
The tags to apply to the file system being created. The key value of the Name
tag appears in the
console as the file system name.
tags
- The tags to apply to the file system being created. The key value of the Name
tag appears in
the console as the file system name.public CreateFileSystemRequest withTags(Tag... tags)
The tags to apply to the file system being created. The key value of the Name
tag appears in the
console as the file system name.
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 apply to the file system being created. The key value of the Name
tag appears in
the console as the file system name.public CreateFileSystemRequest withTags(Collection<Tag> tags)
The tags to apply to the file system being created. The key value of the Name
tag appears in the
console as the file system name.
tags
- The tags to apply to the file system being created. The key value of the Name
tag appears in
the console as the file system name.public void setKmsKeyId(String kmsKeyId)
kmsKeyId
- public String getKmsKeyId()
public CreateFileSystemRequest withKmsKeyId(String kmsKeyId)
kmsKeyId
- public void setWindowsConfiguration(CreateFileSystemWindowsConfiguration windowsConfiguration)
The Microsoft Windows configuration for the file system being created.
windowsConfiguration
- The Microsoft Windows configuration for the file system being created.public CreateFileSystemWindowsConfiguration getWindowsConfiguration()
The Microsoft Windows configuration for the file system being created.
public CreateFileSystemRequest withWindowsConfiguration(CreateFileSystemWindowsConfiguration windowsConfiguration)
The Microsoft Windows configuration for the file system being created.
windowsConfiguration
- The Microsoft Windows configuration for the file system being created.public void setLustreConfiguration(CreateFileSystemLustreConfiguration lustreConfiguration)
lustreConfiguration
- public CreateFileSystemLustreConfiguration getLustreConfiguration()
public CreateFileSystemRequest withLustreConfiguration(CreateFileSystemLustreConfiguration lustreConfiguration)
lustreConfiguration
- public String toString()
toString
in class Object
Object.toString()
public CreateFileSystemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()