Class NodeReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.managedblockchain.NodeReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NodeReference>
- Enclosing interface:
NodeReference
@Stability(Stable)
public static final class NodeReference.Builder
extends Object
implements software.amazon.jsii.Builder<NodeReference>
A builder for
NodeReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofNodeReference.getNodeArn()Sets the value ofNodeReference.getNodeId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodeArn
Sets the value ofNodeReference.getNodeArn()- Parameters:
nodeArn- The ARN of the Node resource. This parameter is required.- Returns:
this
-
nodeId
Sets the value ofNodeReference.getNodeId()- Parameters:
nodeId- The NodeId of the Node resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NodeReference>- Returns:
- a new instance of
NodeReference - Throws:
NullPointerException- if any required attribute was not provided
-