@Generated(value="software.amazon.awssdk:codegen") public final class CreateFileSystemRequest extends FSxRequest implements ToCopyableBuilder<CreateFileSystemRequest.Builder,CreateFileSystemRequest>
The request object for the CreateFileSystem
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateFileSystemRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateFileSystemRequest.Builder |
builder() |
String |
clientRequestToken()
(Optional) A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
boolean |
equals(Object obj) |
FileSystemType |
fileSystemType()
The type of file system.
|
String |
fileSystemTypeAsString()
The type of file system.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
kmsKeyId()
Returns the value of the KmsKeyId property for this object.
|
CreateFileSystemLustreConfiguration |
lustreConfiguration()
Returns the value of the LustreConfiguration property for this object.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
A list of IDs for the security groups that apply to the specified network interfaces created for file system
access.
|
static Class<? extends CreateFileSystemRequest.Builder> |
serializableBuilderClass() |
Integer |
storageCapacity()
The storage capacity of the file system.
|
List<String> |
subnetIds()
A list of IDs for the subnets that the file system will be accessible from.
|
List<Tag> |
tags()
The tags to be applied to the file system at file system creation.
|
CreateFileSystemRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
CreateFileSystemWindowsConfiguration |
windowsConfiguration()
The configuration for this Microsoft Windows file system.
|
overrideConfiguration
copy
public 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.
public FileSystemType fileSystemType()
The type of file system.
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()
The type of file system.
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 Integer storageCapacity()
The storage capacity of the file system.
For Windows file systems, the storage capacity has a minimum of 300 GiB, and a maximum of 65,536 GiB.
For Lustre file systems, the storage capacity has a minimum of 3,600 GiB. Storage capacity is provisioned in increments of 3,600 GiB.
For Windows file systems, the storage capacity has a minimum of 300 GiB, and a maximum of 65,536 GiB.
For Lustre file systems, the storage capacity has a minimum of 3,600 GiB. Storage capacity is provisioned in increments of 3,600 GiB.
public List<String> subnetIds()
A list of IDs for the subnets that the file system will be accessible from. File systems support only one subnet. The file server is also launched in that subnet's Availability Zone.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> securityGroupIds()
A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces. This list isn't returned in later describe requests.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> tags()
The tags to be applied to the file system at file system creation. The key value of the Name
tag
appears in the console as the file system name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Name
tag appears in the console as the file system name.public String kmsKeyId()
public CreateFileSystemWindowsConfiguration windowsConfiguration()
The configuration for this Microsoft Windows file system.
public CreateFileSystemLustreConfiguration lustreConfiguration()
public CreateFileSystemRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateFileSystemRequest.Builder,CreateFileSystemRequest>
toBuilder
in class FSxRequest
public static CreateFileSystemRequest.Builder builder()
public static Class<? extends CreateFileSystemRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.