Class EntitySummary
- java.lang.Object
-
- software.amazon.awssdk.services.iottwinmaker.model.EntitySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntitySummary.Builder,EntitySummary>
@Generated("software.amazon.awssdk:codegen") public final class EntitySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntitySummary.Builder,EntitySummary>
An object that contains information about an entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntitySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the entity.static EntitySummary.Builderbuilder()InstantcreationDateTime()The date and time when the entity was created.Stringdescription()The description of the entity.StringentityId()The ID of the entity.StringentityName()The name of the entity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)BooleanhasChildEntities()An eventual Boolean value that specifies whether the entity has child entities or not.inthashCode()StringparentEntityId()The ID of the parent entity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EntitySummary.Builder>serializableBuilderClass()Statusstatus()The current status of the entity.EntitySummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateDateTime()The last date and time when the entity was updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
entityId
public final String entityId()
The ID of the entity.
- Returns:
- The ID of the entity.
-
entityName
public final String entityName()
The name of the entity.
- Returns:
- The name of the entity.
-
arn
public final String arn()
The ARN of the entity.
- Returns:
- The ARN of the entity.
-
parentEntityId
public final String parentEntityId()
The ID of the parent entity.
- Returns:
- The ID of the parent entity.
-
status
public final Status status()
The current status of the entity.
- Returns:
- The current status of the entity.
-
description
public final String description()
The description of the entity.
- Returns:
- The description of the entity.
-
hasChildEntities
public final Boolean hasChildEntities()
An eventual Boolean value that specifies whether the entity has child entities or not.
- Returns:
- An eventual Boolean value that specifies whether the entity has child entities or not.
-
creationDateTime
public final Instant creationDateTime()
The date and time when the entity was created.
- Returns:
- The date and time when the entity was created.
-
updateDateTime
public final Instant updateDateTime()
The last date and time when the entity was updated.
- Returns:
- The last date and time when the entity was updated.
-
toBuilder
public EntitySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntitySummary.Builder,EntitySummary>
-
builder
public static EntitySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends EntitySummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-