@Generated(value="software.amazon.awssdk:codegen") public final class CreateEntityResponse extends IoTTwinMakerResponse implements ToCopyableBuilder<CreateEntityResponse.Builder,CreateEntityResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEntityResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the entity.
|
static CreateEntityResponse.Builder |
builder() |
Instant |
creationDateTime()
The date and time when the entity was created.
|
String |
entityId()
The ID of the entity.
|
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 CreateEntityResponse.Builder> |
serializableBuilderClass() |
State |
state()
The current state of the entity.
|
String |
stateAsString()
The current state of the entity.
|
CreateEntityResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the entity.
public final Instant creationDateTime()
The date and time when the entity was created.
public final String entityId()
The ID of the entity.
public final State state()
The current state of the entity.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Statepublic final String stateAsString()
The current state of the entity.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Statepublic CreateEntityResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEntityResponse.Builder,CreateEntityResponse>toBuilder in class AwsResponsepublic static CreateEntityResponse.Builder builder()
public static Class<? extends CreateEntityResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.