@Generated(value="software.amazon.awssdk:codegen") public final class Relationship extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Relationship.Builder,Relationship>
An object that specifies a relationship with another component type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Relationship.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Relationship.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
relationshipType()
The type of the relationship.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Relationship.Builder> |
serializableBuilderClass() |
String |
targetComponentTypeId()
The ID of the target component type associated with this relationship.
|
Relationship.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String targetComponentTypeId()
The ID of the target component type associated with this relationship.
public final String relationshipType()
The type of the relationship.
public Relationship.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Relationship.Builder,Relationship>public static Relationship.Builder builder()
public static Class<? extends Relationship.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.