Class CfnContainerAssociationPropsMixin.ContainerAttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnContainerAssociationPropsMixin.ContainerAttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerAssociationPropsMixin.ContainerAttributeProperty>
- Enclosing interface:
CfnContainerAssociationPropsMixin.ContainerAttributeProperty
@Stability(Stable)
public static final class CfnContainerAssociationPropsMixin.ContainerAttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerAssociationPropsMixin.ContainerAttributeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnContainerAssociationPropsMixin.ContainerAttributeProperty.getKey()Sets the value ofCfnContainerAssociationPropsMixin.ContainerAttributeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnContainerAssociationPropsMixin.ContainerAttributeProperty.Builder key(String key) Sets the value ofCfnContainerAssociationPropsMixin.ContainerAttributeProperty.getKey()- Parameters:
key- The attribute key to filter on.- Returns:
this
-
value
@Stability(Stable) public CfnContainerAssociationPropsMixin.ContainerAttributeProperty.Builder value(String value) Sets the value ofCfnContainerAssociationPropsMixin.ContainerAttributeProperty.getValue()- Parameters:
value- The attribute value to match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerAssociationPropsMixin.ContainerAttributeProperty>- Returns:
- a new instance of
CfnContainerAssociationPropsMixin.ContainerAttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-