Interface GetBackupPlanFromTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<GetBackupPlanFromTemplateResponse.Builder,GetBackupPlanFromTemplateResponse>,SdkBuilder<GetBackupPlanFromTemplateResponse.Builder,GetBackupPlanFromTemplateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBackupPlanFromTemplateResponse
public static interface GetBackupPlanFromTemplateResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<GetBackupPlanFromTemplateResponse.Builder,GetBackupPlanFromTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBackupPlanFromTemplateResponse.BuilderbackupPlanDocument(Consumer<BackupPlan.Builder> backupPlanDocument)Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.GetBackupPlanFromTemplateResponse.BuilderbackupPlanDocument(BackupPlan backupPlanDocument)Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
backupPlanDocument
GetBackupPlanFromTemplateResponse.Builder backupPlanDocument(BackupPlan backupPlanDocument)
Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.
- Parameters:
backupPlanDocument- Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanDocument
default GetBackupPlanFromTemplateResponse.Builder backupPlanDocument(Consumer<BackupPlan.Builder> backupPlanDocument)
Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.
This is a convenience method that creates an instance of theBackupPlan.Builderavoiding the need to create one manually viaBackupPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupPlanDocument(BackupPlan).- Parameters:
backupPlanDocument- 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:
backupPlanDocument(BackupPlan)
-
-