Class ThingGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.iot.ThingGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ThingGroupReference>
- Enclosing interface:
ThingGroupReference
@Stability(Stable)
public static final class ThingGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<ThingGroupReference>
A builder for
ThingGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.thingGroupArn
(String thingGroupArn) Sets the value ofThingGroupReference.getThingGroupArn()
thingGroupName
(String thingGroupName) Sets the value ofThingGroupReference.getThingGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
thingGroupArn
Sets the value ofThingGroupReference.getThingGroupArn()
- Parameters:
thingGroupArn
- The ARN of the ThingGroup resource. This parameter is required.- Returns:
this
-
thingGroupName
Sets the value ofThingGroupReference.getThingGroupName()
- Parameters:
thingGroupName
- The ThingGroupName of the ThingGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ThingGroupReference>
- Returns:
- a new instance of
ThingGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-