Class CfnUsageProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnUsageProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUsageProfileProps>
- Enclosing interface:
CfnUsageProfileProps
@Stability(Stable)
public static final class CfnUsageProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUsageProfileProps>
A builder for
CfnUsageProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnUsageProfileProps.getConfiguration()configuration(CfnUsageProfile.ProfileConfigurationProperty configuration) Sets the value ofCfnUsageProfileProps.getConfiguration()description(String description) Sets the value ofCfnUsageProfileProps.getDescription()Sets the value ofCfnUsageProfileProps.getName()Sets the value ofCfnUsageProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnUsageProfileProps.getName()- Parameters:
name- The name of the usage profile. This parameter is required.- Returns:
this
-
configuration
Sets the value ofCfnUsageProfileProps.getConfiguration()- Parameters:
configuration- the value to be set.- Returns:
this
-
configuration
@Stability(Stable) public CfnUsageProfileProps.Builder configuration(CfnUsageProfile.ProfileConfigurationProperty configuration) Sets the value ofCfnUsageProfileProps.getConfiguration()- Parameters:
configuration- the value to be set.- Returns:
this
-
description
Sets the value ofCfnUsageProfileProps.getDescription()- Parameters:
description- A description of the usage profile.- Returns:
this
-
tags
Sets the value ofCfnUsageProfileProps.getTags()- Parameters:
tags- The tags to be applied to this UsageProfiles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUsageProfileProps>- Returns:
- a new instance of
CfnUsageProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-