Class EntityDescription
- java.lang.Object
-
- software.amazon.awssdk.services.iotthingsgraph.model.EntityDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntityDescription.Builder,EntityDescription>
@Generated("software.amazon.awssdk:codegen") public final class EntityDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityDescription.Builder,EntityDescription>
Describes the properties of an entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntityDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The entity ARN.static EntityDescription.Builderbuilder()InstantcreatedAt()The time at which the entity was created.DefinitionDocumentdefinition()The definition document of the entity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The entity ID.List<SdkField<?>>sdkFields()static Class<? extends EntityDescription.Builder>serializableBuilderClass()EntityDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.EntityTypetype()The entity type.StringtypeAsString()The entity type.-
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
-
id
public final String id()
The entity ID.
- Returns:
- The entity ID.
-
arn
public final String arn()
The entity ARN.
- Returns:
- The entity ARN.
-
type
public final EntityType type()
The entity type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The entity type.
- See Also:
EntityType
-
typeAsString
public final String typeAsString()
The entity type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The entity type.
- See Also:
EntityType
-
createdAt
public final Instant createdAt()
The time at which the entity was created.
- Returns:
- The time at which the entity was created.
-
definition
public final DefinitionDocument definition()
The definition document of the entity.
- Returns:
- The definition document of the entity.
-
toBuilder
public EntityDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntityDescription.Builder,EntityDescription>
-
builder
public static EntityDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends EntityDescription.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.
-
-