Class CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AdditionalDetailProperty>
- Enclosing interface:
CfnNetworkInsightsAnalysis.AdditionalDetailProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AdditionalDetailProperty>
A builder for
CfnNetworkInsightsAnalysis.AdditionalDetailProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalDetailType
(String additionalDetailType) build()
Builds the configured instance.component
(IResolvable component) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getComponent()
Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getComponent()
loadBalancers
(List<? extends Object> loadBalancers) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getLoadBalancers()
loadBalancers
(IResolvable loadBalancers) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getLoadBalancers()
serviceName
(String serviceName) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalDetailType
@Stability(Stable) public CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder additionalDetailType(String additionalDetailType) - Parameters:
additionalDetailType
- The additional detail code.- Returns:
this
-
component
@Stability(Stable) public CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder component(IResolvable component) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getComponent()
- Parameters:
component
- The path component.- Returns:
this
-
component
@Stability(Stable) public CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder component(CfnNetworkInsightsAnalysis.AnalysisComponentProperty component) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getComponent()
- Parameters:
component
- The path component.- Returns:
this
-
loadBalancers
@Stability(Stable) public CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder loadBalancers(IResolvable loadBalancers) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getLoadBalancers()
- Parameters:
loadBalancers
- The load balancers.- Returns:
this
-
loadBalancers
@Stability(Stable) public CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder loadBalancers(List<? extends Object> loadBalancers) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getLoadBalancers()
- Parameters:
loadBalancers
- The load balancers.- Returns:
this
-
serviceName
@Stability(Stable) public CfnNetworkInsightsAnalysis.AdditionalDetailProperty.Builder serviceName(String serviceName) Sets the value ofCfnNetworkInsightsAnalysis.AdditionalDetailProperty.getServiceName()
- Parameters:
serviceName
- The name of the VPC endpoint service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AdditionalDetailProperty>
- Returns:
- a new instance of
CfnNetworkInsightsAnalysis.AdditionalDetailProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-