@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetRelationshipSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssetRelationshipSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AssetHierarchyInfo |
hierarchyInfo()
The assets that are related through an asset hierarchy.
|
AssetRelationshipType |
relationshipType()
The relationship type of the assets in this relationship.
|
String |
relationshipTypeAsString()
The relationship type of the assets in this relationship.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetRelationshipSummary.Builder> |
serializableBuilderClass() |
AssetRelationshipSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AssetHierarchyInfo hierarchyInfo()
The assets that are related through an asset hierarchy.
This object is present if the relationshipType is HIERARCHY.
This object is present if the relationshipType is HIERARCHY.
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 the hierarchyInfo object.
If the service returns an enum value that is not available in the current SDK version, relationshipType
will return AssetRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from relationshipTypeAsString().
HIERARCHY – The assets are related through an asset hierarchy. If you specify this
relationship type, this asset relationship includes the hierarchyInfo object.
AssetRelationshipTypepublic 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 the hierarchyInfo object.
If the service returns an enum value that is not available in the current SDK version, relationshipType
will return AssetRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from relationshipTypeAsString().
HIERARCHY – The assets are related through an asset hierarchy. If you specify this
relationship type, this asset relationship includes the hierarchyInfo object.
AssetRelationshipTypepublic AssetRelationshipSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>public static AssetRelationshipSummary.Builder builder()
public static Class<? extends AssetRelationshipSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.