public static interface Backup.Builder extends SdkPojo, CopyableBuilder<Backup.Builder,Backup>
Modifier and Type | Method and Description |
---|---|
Backup.Builder |
backupId(String backupId)
The ID of the backup.
|
Backup.Builder |
creationTime(Instant creationTime)
The time when a particular backup was created.
|
Backup.Builder |
failureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occur when creating a backup.
|
default Backup.Builder |
failureDetails(Consumer<BackupFailureDetails.Builder> failureDetails)
Details explaining any failures that occur when creating a backup.
|
default Backup.Builder |
fileSystem(Consumer<FileSystem.Builder> fileSystem)
Metadata of the file system associated with the backup.
|
Backup.Builder |
fileSystem(FileSystem fileSystem)
Metadata of the file system associated with the backup.
|
Backup.Builder |
kmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup's data.
|
Backup.Builder |
lifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
|
Backup.Builder |
lifecycle(String lifecycle)
The lifecycle status of the backup.
|
Backup.Builder |
progressPercent(Integer progressPercent)
Sets the value of the ProgressPercent property for this object.
|
Backup.Builder |
resourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
|
Backup.Builder |
tags(Collection<Tag> tags)
Tags associated with a particular file system.
|
Backup.Builder |
tags(Consumer<Tag.Builder>... tags)
Tags associated with a particular file system.
|
Backup.Builder |
tags(Tag... tags)
Tags associated with a particular file system.
|
Backup.Builder |
type(BackupType type)
The type of the backup.
|
Backup.Builder |
type(String type)
The type of the backup.
|
copy
applyMutation, build
Backup.Builder backupId(String backupId)
The ID of the backup.
backupId
- The ID of the backup.Backup.Builder lifecycle(String lifecycle)
The lifecycle status of the backup.
lifecycle
- The lifecycle status of the backup.BackupLifecycle
,
BackupLifecycle
Backup.Builder lifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
lifecycle
- The lifecycle status of the backup.BackupLifecycle
,
BackupLifecycle
Backup.Builder failureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occur when creating a backup.
failureDetails
- Details explaining any failures that occur when creating a backup.default Backup.Builder failureDetails(Consumer<BackupFailureDetails.Builder> failureDetails)
Details explaining any failures that occur when creating a backup.
This is a convenience that creates an instance of theBackupFailureDetails.Builder
avoiding the need
to create one manually via BackupFailureDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to failureDetails(BackupFailureDetails)
.failureDetails
- a consumer that will call methods on BackupFailureDetails.Builder
failureDetails(BackupFailureDetails)
Backup.Builder type(String type)
The type of the backup.
type
- The type of the backup.BackupType
,
BackupType
Backup.Builder type(BackupType type)
The type of the backup.
type
- The type of the backup.BackupType
,
BackupType
Backup.Builder progressPercent(Integer progressPercent)
progressPercent
- The new value for the ProgressPercent property for this object.Backup.Builder creationTime(Instant creationTime)
The time when a particular backup was created.
creationTime
- The time when a particular backup was created.Backup.Builder kmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup's data.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key used to encrypt this backup's data.Backup.Builder resourceARN(String resourceARN)
The Amazon Resource Name (ARN) for the backup resource.
resourceARN
- The Amazon Resource Name (ARN) for the backup resource.Backup.Builder tags(Collection<Tag> tags)
Tags associated with a particular file system.
tags
- Tags associated with a particular file system.Backup.Builder tags(Tag... tags)
Tags associated with a particular file system.
tags
- Tags associated with a particular file system.Backup.Builder tags(Consumer<Tag.Builder>... tags)
Tags associated with a particular file system.
This is a convenience that creates an instance of theList.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)
Backup.Builder fileSystem(FileSystem fileSystem)
Metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
fileSystem
- Metadata of the file system associated with the backup. This metadata is persisted even if the file
system is deleted.default Backup.Builder fileSystem(Consumer<FileSystem.Builder> fileSystem)
Metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
This is a convenience that creates an instance of theFileSystem.Builder
avoiding the need to create
one manually via FileSystem.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to fileSystem(FileSystem)
.fileSystem
- a consumer that will call methods on FileSystem.Builder
fileSystem(FileSystem)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.