Class IGraphFilterPlanFocusConfig.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.cdkgraph.IGraphFilterPlanFocusConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IGraphFilterPlanFocusConfig>
- Enclosing interface:
- IGraphFilterPlanFocusConfig
@Stability(Experimental) public static final class IGraphFilterPlanFocusConfig.Builder extends Object implements software.amazon.jsii.Builder<IGraphFilterPlanFocusConfig>
A builder forIGraphFilterPlanFocusConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGraphFilterPlanFocusConfigbuild()Builds the configured instance.IGraphFilterPlanFocusConfig.Buildernode(IFilterFocusCallback node)Sets the value ofIGraphFilterPlanFocusConfig.getNode()IGraphFilterPlanFocusConfig.Buildernode(Node node)Sets the value ofIGraphFilterPlanFocusConfig.getNode()IGraphFilterPlanFocusConfig.BuildernoHoist(Boolean noHoist)Sets the value ofIGraphFilterPlanFocusConfig.getNoHoist()
-
-
-
Method Detail
-
node
@Stability(Experimental) public IGraphFilterPlanFocusConfig.Builder node(Node node)
Sets the value ofIGraphFilterPlanFocusConfig.getNode()- Parameters:
node- The node or resolver to determine the node to focus on. This parameter is required.- Returns:
this
-
node
@Stability(Experimental) public IGraphFilterPlanFocusConfig.Builder node(IFilterFocusCallback node)
Sets the value ofIGraphFilterPlanFocusConfig.getNode()- Parameters:
node- The node or resolver to determine the node to focus on. This parameter is required.- Returns:
this
-
noHoist
@Stability(Experimental) public IGraphFilterPlanFocusConfig.Builder noHoist(Boolean noHoist)
Sets the value ofIGraphFilterPlanFocusConfig.getNoHoist()- Parameters:
noHoist- Indicates if ancestral containers are preserved (eg: Stages, Stack). Iffalse, the "focused node" will be hoisted to the graph root and all ancestors will be pruned. Iftrue, the "focused" will be left in-place, while all siblings and non-scope ancestors will be pruned.- Returns:
this
-
build
@Stability(Experimental) public IGraphFilterPlanFocusConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IGraphFilterPlanFocusConfig>- Returns:
- a new instance of
IGraphFilterPlanFocusConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-