@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()
(Optional) 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.
|
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()
The storage capacity of the file system being created.
|
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)
(Optional) 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.
|
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)
The storage capacity of the file system being created.
|
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)
(Optional) 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.
|
CreateFileSystemRequest |
withFileSystemType(String fileSystemType)
The type of Amazon FSx file system to create.
|
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)
The storage capacity of the file system being created.
|
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)
(Optional) 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
- (Optional) 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()
(Optional) 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)
(Optional) 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
- (Optional) 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.
fileSystemType
- The type of Amazon FSx file system to create.FileSystemType
public String getFileSystemType()
The type of Amazon FSx file system to create.
FileSystemType
public CreateFileSystemRequest withFileSystemType(String fileSystemType)
The type of Amazon FSx file system to create.
fileSystemType
- The type of Amazon FSx file system to create.FileSystemType
public CreateFileSystemRequest withFileSystemType(FileSystemType fileSystemType)
The type of Amazon FSx file system to create.
fileSystemType
- The type of Amazon FSx file system to create.FileSystemType
public void setStorageCapacity(Integer storageCapacity)
The storage capacity of the file system being created.
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
storageCapacity
- The storage capacity of the file system being created.
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
public Integer getStorageCapacity()
The storage capacity of the file system being created.
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
public CreateFileSystemRequest withStorageCapacity(Integer storageCapacity)
The storage capacity of the file system being created.
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
storageCapacity
- The storage capacity of the file system being created.
For Windows file systems, valid values are 32 GiB - 65,536 GiB.
For Lustre file systems, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3600 GiB.
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 standy file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the preferred subnet using the
WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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 standy file server. You specify one of these subnets as the
preferred subnet using the WindowsConfiguration > PreferredSubnetID
property.
For Windows SINGLE_AZ_1
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. This value is required if
FileSystemType
is set to WINDOWS
.
windowsConfiguration
- The Microsoft Windows configuration for the file system being created. This value is required if
FileSystemType
is set to WINDOWS
.public CreateFileSystemWindowsConfiguration getWindowsConfiguration()
The Microsoft Windows configuration for the file system being created. This value is required if
FileSystemType
is set to WINDOWS
.
FileSystemType
is set to WINDOWS
.public CreateFileSystemRequest withWindowsConfiguration(CreateFileSystemWindowsConfiguration windowsConfiguration)
The Microsoft Windows configuration for the file system being created. This value is required if
FileSystemType
is set to WINDOWS
.
windowsConfiguration
- The Microsoft Windows configuration for the file system being created. This value is required if
FileSystemType
is set to WINDOWS
.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.