public static interface CreateBackupRequest.Builder extends FSxRequest.Builder, SdkPojo, CopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>
Modifier and Type | Method and Description |
---|---|
CreateBackupRequest.Builder |
clientRequestToken(String clientRequestToken)
(Optional) A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation.
|
CreateBackupRequest.Builder |
fileSystemId(String fileSystemId)
The ID of the file system to back up.
|
CreateBackupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateBackupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateBackupRequest.Builder |
tags(Collection<Tag> tags)
The tags to apply to the backup at backup creation.
|
CreateBackupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to apply to the backup at backup creation.
|
CreateBackupRequest.Builder |
tags(Tag... tags)
The tags to apply to the backup at backup creation.
|
build
overrideConfiguration
copy
applyMutation, build
CreateBackupRequest.Builder fileSystemId(String fileSystemId)
The ID of the file system to back up.
fileSystemId
- The ID of the file system to back up.CreateBackupRequest.Builder clientRequestToken(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.CreateBackupRequest.Builder tags(Collection<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.
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.CreateBackupRequest.Builder tags(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.
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.CreateBackupRequest.Builder tags(Consumer<Tag.Builder>... 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.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateBackupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateBackupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.