Class AssetRelationshipSummary
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.AssetRelationshipSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>
@Generated("software.amazon.awssdk:codegen") public final class AssetRelationshipSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>
Contains information about assets that are related to one another.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssetRelationshipSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssetRelationshipSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AssetHierarchyInfohierarchyInfo()The assets that are related through an asset hierarchy.AssetRelationshipTyperelationshipType()The relationship type of the assets in this relationship.StringrelationshipTypeAsString()The relationship type of the assets in this relationship.List<SdkField<?>>sdkFields()static Class<? extends AssetRelationshipSummary.Builder>serializableBuilderClass()AssetRelationshipSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
hierarchyInfo
public final AssetHierarchyInfo hierarchyInfo()
The assets that are related through an asset hierarchy.
This object is present if the
relationshipTypeisHIERARCHY.- Returns:
- The assets that are related through an asset hierarchy.
This object is present if the
relationshipTypeisHIERARCHY.
-
relationshipType
public final AssetRelationshipType relationshipType()
The relationship type of the assets in this relationship. This value is one of the following:
-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
If the service returns an enum value that is not available in the current SDK version,
relationshipTypewill returnAssetRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelationshipTypeAsString().- Returns:
- The relationship type of the assets in this relationship. This value is one of the following:
-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
-
- See Also:
AssetRelationshipType
-
-
relationshipTypeAsString
public final String relationshipTypeAsString()
The relationship type of the assets in this relationship. This value is one of the following:
-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
If the service returns an enum value that is not available in the current SDK version,
relationshipTypewill returnAssetRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelationshipTypeAsString().- Returns:
- The relationship type of the assets in this relationship. This value is one of the following:
-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
-
- See Also:
AssetRelationshipType
-
-
toBuilder
public AssetRelationshipSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>
-
builder
public static AssetRelationshipSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssetRelationshipSummary.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.
-
-