Interface Backup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Backup.Builder,
,Backup> SdkBuilder<Backup.Builder,
,Backup> SdkPojo
- Enclosing class:
Backup
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the backup.creationTime
(Instant creationTime) The time when a particular backup was created.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.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
failureDetails
(Consumer<BackupFailureDetails.Builder> failureDetails) Details explaining any failures that occurred when creating a backup.failureDetails
(BackupFailureDetails 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.fileSystem
(FileSystem fileSystem) The metadata of the file system associated with the backup.The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.The lifecycle status of the backup.lifecycle
(BackupLifecycle lifecycle) The lifecycle status of the backup.Sets the value of the OwnerId property for this object.progressPercent
(Integer progressPercent) Sets the value of the ProgressPercent property for this object.resourceARN
(String resourceARN) The Amazon Resource Name (ARN) for the backup resource.resourceType
(String resourceType) Specifies the resource type that's backed up.resourceType
(ResourceType resourceType) Specifies the resource type that's backed up.sourceBackupId
(String sourceBackupId) Sets the value of the SourceBackupId property for this object.sourceBackupRegion
(String sourceBackupRegion) The source Region of the backup.tags
(Collection<Tag> tags) The tags associated with a particular file system.tags
(Consumer<Tag.Builder>... tags) The tags associated with a particular file system.The tags associated with a particular file system.The type of the file-system backup.type
(BackupType 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.Sets the value of the Volume property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backupId
The ID of the backup.
- Parameters:
backupId
- The ID of the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failureDetails
Details explaining any failures that occurred when creating a backup.
- Parameters:
failureDetails
- Details explaining any failures that occurred when creating a backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaBackupFailureDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureDetails(BackupFailureDetails)
.- Parameters:
failureDetails
- a consumer that will call methods onBackupFailureDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the file-system backup.
- Parameters:
type
- The type of the file-system backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the file-system backup.
- Parameters:
type
- The type of the file-system backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
progressPercent
Sets the value of the ProgressPercent property for this object.- Parameters:
progressPercent
- The new value for the ProgressPercent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when a particular backup was created.
- Parameters:
creationTime
- The time when a particular backup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceARN
The Amazon Resource Name (ARN) for the backup resource.
- Parameters:
resourceARN
- The Amazon Resource Name (ARN) for the backup resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with a particular file system.
- Parameters:
tags
- The tags associated with a particular file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with a particular file system.
- Parameters:
tags
- The tags associated with a particular file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileSystem
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
- Parameters:
fileSystem
- The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaFileSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileSystem(FileSystem)
.- Parameters:
fileSystem
- a consumer that will call methods onFileSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
directoryInformation
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
- Parameters:
directoryInformation
- The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryInformation
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 viaActiveDirectoryBackupAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todirectoryInformation(ActiveDirectoryBackupAttributes)
.- Parameters:
directoryInformation
- a consumer that will call methods onActiveDirectoryBackupAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
Sets the value of the OwnerId property for this object.- Parameters:
ownerId
- The new value for the OwnerId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBackupId
Sets the value of the SourceBackupId property for this object.- Parameters:
sourceBackupId
- The new value for the SourceBackupId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBackupRegion
The source Region of the backup. Specifies the Region from where this backup is copied.
- Parameters:
sourceBackupRegion
- The source Region of the backup. Specifies the Region from where this backup is copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
Specifies the resource type that's backed up.
- Parameters:
resourceType
- Specifies the resource type that's backed up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
Specifies the resource type that's backed up.
- Parameters:
resourceType
- Specifies the resource type that's backed up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volume
Sets the value of the Volume property for this object.- Parameters:
volume
- The new value for the Volume property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volume
Sets the value of the Volume property for this object. This is a convenience method that creates an instance of theVolume.Builder
avoiding the need to create one manually viaVolume.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolume(Volume)
.- Parameters:
volume
- a consumer that will call methods onVolume.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-