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