Interface DescribeBackupPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBackupPolicyResponse.Builder,DescribeBackupPolicyResponse>,EfsResponse.Builder,SdkBuilder<DescribeBackupPolicyResponse.Builder,DescribeBackupPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeBackupPolicyResponse
public static interface DescribeBackupPolicyResponse.Builder extends EfsResponse.Builder, SdkPojo, CopyableBuilder<DescribeBackupPolicyResponse.Builder,DescribeBackupPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeBackupPolicyResponse.BuilderbackupPolicy(Consumer<BackupPolicy.Builder> backupPolicy)Describes the file system's backup policy, indicating whether automatic backups are turned on or off.DescribeBackupPolicyResponse.BuilderbackupPolicy(BackupPolicy backupPolicy)Describes the file system's backup policy, indicating whether automatic backups are turned on or off.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.efs.model.EfsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
backupPolicy
DescribeBackupPolicyResponse.Builder backupPolicy(BackupPolicy backupPolicy)
Describes the file system's backup policy, indicating whether automatic backups are turned on or off.
- Parameters:
backupPolicy- Describes the file system's backup policy, indicating whether automatic backups are turned on or off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPolicy
default DescribeBackupPolicyResponse.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.Builderavoiding the need to create one manually viaBackupPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupPolicy(BackupPolicy).- Parameters:
backupPolicy- a consumer that will call methods onBackupPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
backupPolicy(BackupPolicy)
-
-