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