Class AttributeGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalogappregistry.AttributeGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AttributeGroupReference>
- Enclosing interface:
AttributeGroupReference
@Stability(Stable)
public static final class AttributeGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<AttributeGroupReference>
A builder for
AttributeGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeGroupArn
(String attributeGroupArn) Sets the value ofAttributeGroupReference.getAttributeGroupArn()
attributeGroupId
(String attributeGroupId) Sets the value ofAttributeGroupReference.getAttributeGroupId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeGroupArn
@Stability(Stable) public AttributeGroupReference.Builder attributeGroupArn(String attributeGroupArn) Sets the value ofAttributeGroupReference.getAttributeGroupArn()
- Parameters:
attributeGroupArn
- The ARN of the AttributeGroup resource. This parameter is required.- Returns:
this
-
attributeGroupId
Sets the value ofAttributeGroupReference.getAttributeGroupId()
- Parameters:
attributeGroupId
- The Id of the AttributeGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AttributeGroupReference>
- Returns:
- a new instance of
AttributeGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-