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