Class RestoreTestingPlanReference.Builder
java.lang.Object
software.amazon.awscdk.services.backup.RestoreTestingPlanReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RestoreTestingPlanReference>
- Enclosing interface:
RestoreTestingPlanReference
@Stability(Stable)
public static final class RestoreTestingPlanReference.Builder
extends Object
implements software.amazon.jsii.Builder<RestoreTestingPlanReference>
A builder for
RestoreTestingPlanReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.restoreTestingPlanArn
(String restoreTestingPlanArn) Sets the value ofRestoreTestingPlanReference.getRestoreTestingPlanArn()
restoreTestingPlanName
(String restoreTestingPlanName) Sets the value ofRestoreTestingPlanReference.getRestoreTestingPlanName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
restoreTestingPlanArn
@Stability(Stable) public RestoreTestingPlanReference.Builder restoreTestingPlanArn(String restoreTestingPlanArn) Sets the value ofRestoreTestingPlanReference.getRestoreTestingPlanArn()
- Parameters:
restoreTestingPlanArn
- The ARN of the RestoreTestingPlan resource. This parameter is required.- Returns:
this
-
restoreTestingPlanName
@Stability(Stable) public RestoreTestingPlanReference.Builder restoreTestingPlanName(String restoreTestingPlanName) Sets the value ofRestoreTestingPlanReference.getRestoreTestingPlanName()
- Parameters:
restoreTestingPlanName
- The RestoreTestingPlanName of the RestoreTestingPlan resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RestoreTestingPlanReference>
- Returns:
- a new instance of
RestoreTestingPlanReference
- Throws:
NullPointerException
- if any required attribute was not provided
-