Class CfnAccessPoint.AccessPointTagProperty.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnAccessPoint.AccessPointTagProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint.AccessPointTagProperty>
- Enclosing interface:
CfnAccessPoint.AccessPointTagProperty
@Stability(Stable)
public static final class CfnAccessPoint.AccessPointTagProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint.AccessPointTagProperty>
A builder for
CfnAccessPoint.AccessPointTagProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAccessPoint.AccessPointTagProperty.getKey()
Sets the value ofCfnAccessPoint.AccessPointTagProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnAccessPoint.AccessPointTagProperty.getKey()
- Parameters:
key
- The tag key (String). The key can't start withaws:
.- Returns:
this
-
value
Sets the value ofCfnAccessPoint.AccessPointTagProperty.getValue()
- Parameters:
value
- The value of the tag key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint.AccessPointTagProperty>
- Returns:
- a new instance of
CfnAccessPoint.AccessPointTagProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-