Class CfnAttributeGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalogappregistry.CfnAttributeGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAttributeGroupProps>
- Enclosing interface:
CfnAttributeGroupProps
@Stability(Stable)
public static final class CfnAttributeGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAttributeGroupProps>
A builder for
CfnAttributeGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Object attributes) Sets the value ofCfnAttributeGroupProps.getAttributes()build()Builds the configured instance.description(String description) Sets the value ofCfnAttributeGroupProps.getDescription()Sets the value ofCfnAttributeGroupProps.getName()Sets the value ofCfnAttributeGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
Sets the value ofCfnAttributeGroupProps.getAttributes()- Parameters:
attributes- A nested object in a JSON or YAML template that supports arbitrary definitions. This parameter is required. Represents the attributes in an attribute group that describes an application and its components.- Returns:
this
-
name
Sets the value ofCfnAttributeGroupProps.getName()- Parameters:
name- The name of the attribute group. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAttributeGroupProps.getDescription()- Parameters:
description- The description of the attribute group that the user provides.- Returns:
this
-
tags
Sets the value ofCfnAttributeGroupProps.getTags()- Parameters:
tags- Key-value pairs you can use to associate with the attribute group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAttributeGroupProps>- Returns:
- a new instance of
CfnAttributeGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-