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 directory 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 directory to which the Windows File Server
instance is joined.
|
Backup.Builder |
failureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occurred when creating a backup.
|
default Backup.Builder |
failureDetails(Consumer<BackupFailureDetails.Builder> failureDetails)
Details explaining any failures that occurred when creating a backup.
|
default Backup.Builder |
fileSystem(Consumer<FileSystem.Builder> fileSystem)
The metadata of the file system associated with the backup.
|
Backup.Builder |
fileSystem(FileSystem fileSystem)
The metadata of the file system associated with the backup.
|
Backup.Builder |
kmsKeyId(String kmsKeyId)
The ID of the Key Management Service (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 |
resourceType(ResourceType resourceType)
Specifies the resource type that's backed up.
|
Backup.Builder |
resourceType(String resourceType)
Specifies the resource type that's backed up.
|
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)
The tags associated with a particular file system.
|
Backup.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags associated with a particular file system.
|
Backup.Builder |
tags(Tag... tags)
The 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.
|
default Backup.Builder |
volume(Consumer<Volume.Builder> volume)
Sets the value of the Volume property for this object.
|
Backup.Builder |
volume(Volume volume)
Sets the value of the Volume property for this object.
|
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 hasn't 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 Amazon S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it's no longer available.
FAILED - Amazon FSx couldn't finish 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 hasn't
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 Amazon S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it's no longer available.
FAILED - Amazon FSx couldn't finish 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 hasn't 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 Amazon S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it's no longer available.
FAILED - Amazon FSx couldn't finish 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 hasn't
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 Amazon S3.
COPYING - Amazon FSx is copying the backup.
DELETED - Amazon FSx deleted the backup and it's no longer available.
FAILED - Amazon FSx couldn't finish the backup.
BackupLifecycle,
BackupLifecycleBackup.Builder failureDetails(BackupFailureDetails failureDetails)
Details explaining any failures that occurred when creating a backup.
failureDetails - Details explaining any failures that occurred when creating a backup.default Backup.Builder failureDetails(Consumer<BackupFailureDetails.Builder> failureDetails)
Details explaining any failures that occurred when creating a backup.
This is a convenience method 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 Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
kmsKeyId - The ID of the Key Management Service (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)
The tags associated with a particular file system.
tags - The tags associated with a particular file system.Backup.Builder tags(Tag... tags)
The tags associated with a particular file system.
tags - The tags associated with a particular file system.Backup.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with a particular file system.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Backup.Builder fileSystem(FileSystem fileSystem)
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
fileSystem - The 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)
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
This is a convenience method 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 directory to which the Windows File Server instance is joined.
directoryInformation - The configuration of the self-managed Microsoft Active Directory directory 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 directory to which the Windows File Server instance is joined.
This is a convenience method 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.Backup.Builder resourceType(String resourceType)
Specifies the resource type that's backed up.
resourceType - Specifies the resource type that's backed up.ResourceType,
ResourceTypeBackup.Builder resourceType(ResourceType resourceType)
Specifies the resource type that's backed up.
resourceType - Specifies the resource type that's backed up.ResourceType,
ResourceTypeBackup.Builder volume(Volume volume)
volume - The new value for the Volume property for this object.default Backup.Builder volume(Consumer<Volume.Builder> volume)
Volume.Builder avoiding the need to
create one manually via Volume.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to volume(Volume).
volume - a consumer that will call methods on Volume.Buildervolume(Volume)Copyright © 2023. All rights reserved.