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