Class CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty>
- Enclosing interface:
CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.getArn()build()Builds the configured instance.Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.getId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.Builder arn(String arn) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the component.- Returns:
this
-
id
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.Builder id(String id) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty.getId()- Parameters:
id- The ID of the component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty>- Returns:
- a new instance of
CfnNetworkInsightsAnalysisPropsMixin.AnalysisComponentProperty - Throws:
NullPointerException- if any required attribute was not provided
-