@Generated(value="software.amazon.awssdk:codegen") public final class CreateThingRequest extends IotRequest implements ToCopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
The input for the CreateThing operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateThingRequest.Builder |
Modifier and Type | Method and Description |
---|---|
AttributePayload |
attributePayload()
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
String |
billingGroupName()
The name of the billing group the thing will be added to.
|
static CreateThingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateThingRequest.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing to create.
|
String |
thingTypeName()
The name of the thing type associated with the new thing.
|
CreateThingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String thingName()
The name of the thing to create.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
public final String thingTypeName()
The name of the thing type associated with the new thing.
public final AttributePayload attributePayload()
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
{\"attributes\":{\"string1\":\"string2\"}}
public final String billingGroupName()
The name of the billing group the thing will be added to.
public CreateThingRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
toBuilder
in class IotRequest
public static CreateThingRequest.Builder builder()
public static Class<? extends CreateThingRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.