Class CfnContainerAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnContainerAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerAssociationMixinProps>
- Enclosing interface:
CfnContainerAssociationMixinProps
@Stability(Stable)
public static final class CfnContainerAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerAssociationMixinProps>
A builder for
CfnContainerAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerAssociationName(String containerAssociationName) Sets the value ofCfnContainerAssociationMixinProps.getContainerAssociationName()containerMonitoringConfigurations(List<? extends Object> containerMonitoringConfigurations) Sets the value ofCfnContainerAssociationMixinProps.getContainerMonitoringConfigurations()containerMonitoringConfigurations(IResolvable containerMonitoringConfigurations) Sets the value ofCfnContainerAssociationMixinProps.getContainerMonitoringConfigurations()description(String description) Sets the value ofCfnContainerAssociationMixinProps.getDescription()Sets the value ofCfnContainerAssociationMixinProps.getTags()Sets the value ofCfnContainerAssociationMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerAssociationName
@Stability(Stable) public CfnContainerAssociationMixinProps.Builder containerAssociationName(String containerAssociationName) Sets the value ofCfnContainerAssociationMixinProps.getContainerAssociationName()- Parameters:
containerAssociationName- The descriptive name of the container association. You can't change the name of a container association after you create it.- Returns:
this
-
containerMonitoringConfigurations
@Stability(Stable) public CfnContainerAssociationMixinProps.Builder containerMonitoringConfigurations(IResolvable containerMonitoringConfigurations) Sets the value ofCfnContainerAssociationMixinProps.getContainerMonitoringConfigurations()- Parameters:
containerMonitoringConfigurations- The monitoring configurations for the container association. Each configuration specifies an Amazon ECS or Amazon EKS cluster to monitor and optional attribute filters to narrow which containers are tracked.- Returns:
this
-
containerMonitoringConfigurations
@Stability(Stable) public CfnContainerAssociationMixinProps.Builder containerMonitoringConfigurations(List<? extends Object> containerMonitoringConfigurations) Sets the value ofCfnContainerAssociationMixinProps.getContainerMonitoringConfigurations()- Parameters:
containerMonitoringConfigurations- The monitoring configurations for the container association. Each configuration specifies an Amazon ECS or Amazon EKS cluster to monitor and optional attribute filters to narrow which containers are tracked.- Returns:
this
-
description
Sets the value ofCfnContainerAssociationMixinProps.getDescription()- Parameters:
description- A description of the container association.- Returns:
this
-
tags
@Stability(Stable) public CfnContainerAssociationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnContainerAssociationMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
type
Sets the value ofCfnContainerAssociationMixinProps.getType()- Parameters:
type- The type of containers to monitor. You can't change the container type after creation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerAssociationMixinProps>- Returns:
- a new instance of
CfnContainerAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-