Class AttributeGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalogappregistry.AttributeGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AttributeGroupProps>
- Enclosing interface:
AttributeGroupProps
@Stability(Experimental)
public static final class AttributeGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<AttributeGroupProps>
A builder for
AttributeGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeGroupName
(String attributeGroupName) Sets the value ofAttributeGroupProps.getAttributeGroupName()
attributes
(Map<String, ? extends Object> attributes) Sets the value ofAttributeGroupProps.getAttributes()
build()
Builds the configured instance.description
(String description) Sets the value ofAttributeGroupProps.getDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeGroupName
@Stability(Experimental) public AttributeGroupProps.Builder attributeGroupName(String attributeGroupName) Sets the value ofAttributeGroupProps.getAttributeGroupName()
- Parameters:
attributeGroupName
- Enforces a particular physical attribute group name. This parameter is required.- Returns:
this
-
attributes
@Stability(Experimental) public AttributeGroupProps.Builder attributes(Map<String, ? extends Object> attributes) Sets the value ofAttributeGroupProps.getAttributes()
- Parameters:
attributes
- A JSON of nested key-value pairs that represent the attributes in the group. This parameter is required. Attributes maybe an empty JSON '{}', but must be explicitly stated.- Returns:
this
-
description
Sets the value ofAttributeGroupProps.getDescription()
- Parameters:
description
- Description for attribute group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AttributeGroupProps>
- Returns:
- a new instance of
AttributeGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-