StructuredPojo
, ToCopyableBuilder<Relationship.Builder,Relationship>
@Generated("software.amazon.awssdk:codegen") public class Relationship extends Object implements StructuredPojo, ToCopyableBuilder<Relationship.Builder,Relationship>
The relationship of the related resource to the main resource.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Relationship.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Relationship.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
relationshipName() |
The type of relationship with the related resource.
|
String |
resourceId() |
The ID of the related resource (for example,
sg-xxxxxx ). |
String |
resourceName() |
The custom name of the related resource, if available.
|
String |
resourceType() |
The resource type of the related resource.
|
static Class<? extends Relationship.Builder> |
serializableBuilderClass() |
|
Relationship.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String resourceType()
The resource type of the related resource.
ResourceType
public String resourceId()
The ID of the related resource (for example, sg-xxxxxx
).
sg-xxxxxx
).public String resourceName()
The custom name of the related resource, if available.
public String relationshipName()
The type of relationship with the related resource.
public Relationship.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Relationship.Builder,Relationship>
public static Relationship.Builder builder()
public static Class<? extends Relationship.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.