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 |
directoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server
instance is joined.
|
default Backup.Builder |
directoryInformation(Consumer<ActiveDirectoryBackupAttributes.Builder> directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server
instance is joined.
|
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 the backup of the Amazon FSx file
system's data at rest.
|
Backup.Builder |
lifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
|
Backup.Builder |
lifecycle(String lifecycle)
The lifecycle status of the backup.
|
Backup.Builder |
ownerId(String ownerId)
Sets the value of the OwnerId property for this object.
|
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 |
sourceBackupId(String sourceBackupId)
Sets the value of the SourceBackupId property for this object.
|
Backup.Builder |
sourceBackupRegion(String sourceBackupRegion)
The source Region of the backup.
|
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 file system backup.
|
Backup.Builder |
type(String type)
The type of the file system backup.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBackup.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.
AVAILABLE - The backup is fully available.
PENDING - For user-initiated backups on Lustre file systems only; Amazon FSx has not started
creating the backup.
CREATING - Amazon FSx is creating the backup.
TRANSFERRING - For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it is no longer available.
FAILED - Amazon FSx could not complete the backup.
lifecycle - The lifecycle status of the backup.
AVAILABLE - The backup is fully available.
PENDING - For user-initiated backups on Lustre file systems only; Amazon FSx has not
started creating the backup.
CREATING - Amazon FSx is creating the backup.
TRANSFERRING - For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it is no longer available.
FAILED - Amazon FSx could not complete the backup.
BackupLifecycle,
BackupLifecycleBackup.Builder lifecycle(BackupLifecycle lifecycle)
The lifecycle status of the backup.
AVAILABLE - The backup is fully available.
PENDING - For user-initiated backups on Lustre file systems only; Amazon FSx has not started
creating the backup.
CREATING - Amazon FSx is creating the backup.
TRANSFERRING - For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it is no longer available.
FAILED - Amazon FSx could not complete the backup.
lifecycle - The lifecycle status of the backup.
AVAILABLE - The backup is fully available.
PENDING - For user-initiated backups on Lustre file systems only; Amazon FSx has not
started creating the backup.
CREATING - Amazon FSx is creating the backup.
TRANSFERRING - For user-initiated backups on Lustre file systems only; Amazon FSx is
transferring the backup to S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it is no longer available.
FAILED - Amazon FSx could not complete the backup.
BackupLifecycle,
BackupLifecycleBackup.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.BuilderfailureDetails(BackupFailureDetails)Backup.Builder type(String type)
The type of the file system backup.
type - The type of the file system backup.BackupType,
BackupTypeBackup.Builder type(BackupType type)
The type of the file system backup.
type - The type of the file system backup.BackupType,
BackupTypeBackup.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 the backup of the Amazon FSx file system's data at rest.
kmsKeyId - The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx
file system's data at rest.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.BuilderfileSystem(FileSystem)Backup.Builder directoryInformation(ActiveDirectoryBackupAttributes directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.
directoryInformation - The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server
instance is joined.default Backup.Builder directoryInformation(Consumer<ActiveDirectoryBackupAttributes.Builder> directoryInformation)
The configuration of the self-managed Microsoft Active Directory (AD) to which the Windows File Server instance is joined.
This is a convenience that creates an instance of theActiveDirectoryBackupAttributes.Builder
avoiding the need to create one manually via ActiveDirectoryBackupAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to directoryInformation(ActiveDirectoryBackupAttributes).directoryInformation - a consumer that will call methods on ActiveDirectoryBackupAttributes.BuilderdirectoryInformation(ActiveDirectoryBackupAttributes)Backup.Builder ownerId(String ownerId)
ownerId - The new value for the OwnerId property for this object.Backup.Builder sourceBackupId(String sourceBackupId)
sourceBackupId - The new value for the SourceBackupId property for this object.Backup.Builder sourceBackupRegion(String sourceBackupRegion)
The source Region of the backup. Specifies the Region from where this backup is copied.
sourceBackupRegion - The source Region of the backup. Specifies the Region from where this backup is copied.Copyright © 2021. All rights reserved.