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