Class CfnRegistryProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnRegistryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryProps>
- Enclosing interface:
- CfnRegistryProps
@Stability(Stable)
public static final class CfnRegistryProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryProps>
A builder for
CfnRegistryProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnRegistryProps.getDescription()Sets the value ofCfnRegistryProps.getName()Sets the value ofCfnRegistryProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnRegistryProps.getName()- Parameters:
name- The name of the registry. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnRegistryProps.getDescription()- Parameters:
description- A description of the registry.- Returns:
this
-
tags
Sets the value ofCfnRegistryProps.getTags()- Parameters:
tags- AWS tags that contain a key value pair and may be searched by console, command line, or API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryProps>- Returns:
- a new instance of
CfnRegistryProps - Throws:
NullPointerException- if any required attribute was not provided
-