Class ThingReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iot.ThingReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ThingReference>
- Enclosing interface:
ThingReference
@Stability(Stable)
public static final class ThingReference.Builder
extends Object
implements software.amazon.jsii.Builder<ThingReference>
A builder for
ThingReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofThingReference.getThingArn()Sets the value ofThingReference.getThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
thingArn
Sets the value ofThingReference.getThingArn()- Parameters:
thingArn- The ARN of the Thing resource. This parameter is required.- Returns:
this
-
thingName
Sets the value ofThingReference.getThingName()- Parameters:
thingName- The ThingName of the Thing resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ThingReference>- Returns:
- a new instance of
ThingReference - Throws:
NullPointerException- if any required attribute was not provided
-