@Stability(value=Stable) public static final class CfnFargateProfile.SelectorProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFargateProfile.SelectorProperty>
CfnFargateProfile.SelectorProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFargateProfile.SelectorProperty |
build()
Builds the configured instance.
|
CfnFargateProfile.SelectorProperty.Builder |
labels(IResolvable labels)
Sets the value of
CfnFargateProfile.SelectorProperty.getLabels() |
CfnFargateProfile.SelectorProperty.Builder |
labels(List<? extends Object> labels)
Sets the value of
CfnFargateProfile.SelectorProperty.getLabels() |
CfnFargateProfile.SelectorProperty.Builder |
namespace(String namespace)
Sets the value of
CfnFargateProfile.SelectorProperty.getNamespace() |
@Stability(value=Stable) public CfnFargateProfile.SelectorProperty.Builder namespace(String namespace)
CfnFargateProfile.SelectorProperty.getNamespace()namespace - The Kubernetes namespace that the selector should match. This parameter is required.this@Stability(value=Stable) public CfnFargateProfile.SelectorProperty.Builder labels(IResolvable labels)
CfnFargateProfile.SelectorProperty.getLabels()labels - The Kubernetes labels that the selector should match.
A pod must contain all of the labels that are specified in the selector for it to be considered a match.this@Stability(value=Stable) public CfnFargateProfile.SelectorProperty.Builder labels(List<? extends Object> labels)
CfnFargateProfile.SelectorProperty.getLabels()labels - The Kubernetes labels that the selector should match.
A pod must contain all of the labels that are specified in the selector for it to be considered a match.this@Stability(value=Stable) public CfnFargateProfile.SelectorProperty build()
build in interface software.amazon.jsii.Builder<CfnFargateProfile.SelectorProperty>CfnFargateProfile.SelectorPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.