public static interface PutBackupPolicyResponse.Builder extends EfsResponse.Builder, SdkPojo, CopyableBuilder<PutBackupPolicyResponse.Builder,PutBackupPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
PutBackupPolicyResponse.Builder |
backupPolicy(BackupPolicy backupPolicy)
Describes the file system's backup policy, indicating whether automatic backups are turned on or off.
|
default PutBackupPolicyResponse.Builder |
backupPolicy(Consumer<BackupPolicy.Builder> backupPolicy)
Describes the file system's backup policy, indicating whether automatic backups are turned on or off.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutBackupPolicyResponse.Builder backupPolicy(BackupPolicy backupPolicy)
Describes the file system's backup policy, indicating whether automatic backups are turned on or off.
backupPolicy - Describes the file system's backup policy, indicating whether automatic backups are turned on or off.default PutBackupPolicyResponse.Builder backupPolicy(Consumer<BackupPolicy.Builder> backupPolicy)
Describes the file system's backup policy, indicating whether automatic backups are turned on or off.
This is a convenience method that creates an instance of theBackupPolicy.Builder avoiding the need
to create one manually via BackupPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to backupPolicy(BackupPolicy).
backupPolicy - a consumer that will call methods on BackupPolicy.BuilderbackupPolicy(BackupPolicy)Copyright © 2023. All rights reserved.