@Generated(value="software.amazon.awssdk:codegen") public final class CreateFileSystemFromBackupRequest extends FSxRequest implements ToCopyableBuilder<CreateFileSystemFromBackupRequest.Builder,CreateFileSystemFromBackupRequest>
The request object for the CreateFileSystemFromBackup operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateFileSystemFromBackupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
backupId()
Returns the value of the BackupId property for this object.
|
static CreateFileSystemFromBackupRequest.Builder |
builder() |
String |
clientRequestToken()
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSubnetIds()
Returns true if the SubnetIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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 CreateFileSystemFromBackupRequest.Builder> |
serializableBuilderClass() |
StorageType |
storageType()
Sets the storage type for the Windows file system you're creating from a backup.
|
String |
storageTypeAsString()
Sets the storage type for the Windows file system you're creating from a backup.
|
List<String> |
subnetIds()
Specifies the IDs of 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.
|
CreateFileSystemFromBackupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CreateFileSystemWindowsConfiguration |
windowsConfiguration()
The configuration for this Microsoft Windows file system.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String backupId()
public final 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.
public final boolean hasSubnetIds()
public final List<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 deployment types and Lustre file systems,
provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubnetIds() to see if a value was sent in this field.
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 deployment types and Lustre file
systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
public final boolean hasSecurityGroupIds()
public final 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 apply to all network interfaces. This value isn't returned in later DescribeFileSystem requests.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupIds() to see if a value was sent in this field.
public final boolean hasTags()
public final 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.
You can use hasTags() to see if a value was sent in this field.
Name
tag appears in the console as the file system name.public final CreateFileSystemWindowsConfiguration windowsConfiguration()
The configuration for this Microsoft Windows file system.
public final CreateFileSystemLustreConfiguration lustreConfiguration()
public final StorageType storageType()
Sets the storage type for the Windows file system you're creating from a backup. Valid values are
SSD and HDD.
Set to SSD to use solid state drive storage. Supported on all Windows deployment types.
Set to HDD to use hard disk drive storage. Supported on SINGLE_AZ_2 and
MULTI_AZ_1 Windows file system deployment types.
Default value is SSD.
HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage only if the original SSD file system had a storage capacity of at least 2000 GiB.
If the service returns an enum value that is not available in the current SDK version, storageType will
return StorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
SSD and HDD.
Set to SSD to use solid state drive storage. Supported on all Windows deployment types.
Set to HDD to use hard disk drive storage. Supported on SINGLE_AZ_2 and
MULTI_AZ_1 Windows file system deployment types.
Default value is SSD.
HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage only if the original SSD file system had a storage capacity of at least 2000 GiB.
StorageTypepublic final String storageTypeAsString()
Sets the storage type for the Windows file system you're creating from a backup. Valid values are
SSD and HDD.
Set to SSD to use solid state drive storage. Supported on all Windows deployment types.
Set to HDD to use hard disk drive storage. Supported on SINGLE_AZ_2 and
MULTI_AZ_1 Windows file system deployment types.
Default value is SSD.
HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage only if the original SSD file system had a storage capacity of at least 2000 GiB.
If the service returns an enum value that is not available in the current SDK version, storageType will
return StorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
SSD and HDD.
Set to SSD to use solid state drive storage. Supported on all Windows deployment types.
Set to HDD to use hard disk drive storage. Supported on SINGLE_AZ_2 and
MULTI_AZ_1 Windows file system deployment types.
Default value is SSD.
HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage only if the original SSD file system had a storage capacity of at least 2000 GiB.
StorageTypepublic final String kmsKeyId()
public CreateFileSystemFromBackupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateFileSystemFromBackupRequest.Builder,CreateFileSystemFromBackupRequest>toBuilder in class FSxRequestpublic static CreateFileSystemFromBackupRequest.Builder builder()
public static Class<? extends CreateFileSystemFromBackupRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.