Class CfnApplicationPropsMixin.CustomComponentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.CustomComponentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.CustomComponentProperty>
- Enclosing interface:
CfnApplicationPropsMixin.CustomComponentProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.CustomComponentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.CustomComponentProperty>
A builder for
CfnApplicationPropsMixin.CustomComponentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.componentName(String componentName) Sets the value ofCfnApplicationPropsMixin.CustomComponentProperty.getComponentName()resourceList(List<String> resourceList) Sets the value ofCfnApplicationPropsMixin.CustomComponentProperty.getResourceList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentName
@Stability(Stable) public CfnApplicationPropsMixin.CustomComponentProperty.Builder componentName(String componentName) Sets the value ofCfnApplicationPropsMixin.CustomComponentProperty.getComponentName()- Parameters:
componentName- The name of the component.- Returns:
this
-
resourceList
@Stability(Stable) public CfnApplicationPropsMixin.CustomComponentProperty.Builder resourceList(List<String> resourceList) Sets the value ofCfnApplicationPropsMixin.CustomComponentProperty.getResourceList()- Parameters:
resourceList- The list of resource ARNs that belong to the component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.CustomComponentProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.CustomComponentProperty - Throws:
NullPointerException- if any required attribute was not provided
-