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