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