Interface GetBackupPlanFromJsonResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<GetBackupPlanFromJsonResponse.Builder,,GetBackupPlanFromJsonResponse> SdkBuilder<GetBackupPlanFromJsonResponse.Builder,,GetBackupPlanFromJsonResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBackupPlanFromJsonResponse
@Mutable
@NotThreadSafe
public static interface GetBackupPlanFromJsonResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<GetBackupPlanFromJsonResponse.Builder,GetBackupPlanFromJsonResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbackupPlan(Consumer<BackupPlan.Builder> backupPlan) Specifies the body of a backup plan.backupPlan(BackupPlan backupPlan) Specifies the body of a backup plan.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
backupPlan
Specifies the body of a backup plan. Includes a
BackupPlanNameand one or more sets ofRules.- Parameters:
backupPlan- Specifies the body of a backup plan. Includes aBackupPlanNameand one or more sets ofRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlan
Specifies the body of a backup plan. Includes a
This is a convenience method that creates an instance of theBackupPlanNameand one or more sets ofRules.BackupPlan.Builderavoiding the need to create one manually viaBackupPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupPlan(BackupPlan).- Parameters:
backupPlan- a consumer that will call methods onBackupPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-