@Generated(value="software.amazon.awssdk:codegen") public final class CreateBackupRequest extends FSxRequest implements ToCopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>
The request object for the CreateBackup
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateBackupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateBackupRequest.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) |
String |
fileSystemId()
The ID of the file system to back up.
|
<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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBackupRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags to apply to the backup at backup creation.
|
CreateBackupRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String fileSystemId()
The ID of the file system to back up.
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 List<Tag> tags()
The tags to apply to the backup at backup creation. The key value of the Name
tag appears in the
console as the backup name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Name
tag appears in
the console as the backup name.public CreateBackupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>
toBuilder
in class FSxRequest
public static CreateBackupRequest.Builder builder()
public static Class<? extends CreateBackupRequest.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.