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