@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DependentEntity extends Object implements Serializable, Cloneable, StructuredPojo
Information about a resource that another resource is related to or depends on.
For example, if a contact is a member of a rotation, the rotation is a dependent entity of the contact.
Constructor and Description |
---|
DependentEntity() |
Modifier and Type | Method and Description |
---|---|
DependentEntity |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDependentResourceIds()
The Amazon Resource Names (ARNs) of the dependent resources.
|
String |
getRelationType()
The type of relationship between one resource and the other resource that it is related to or depends on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDependentResourceIds(Collection<String> dependentResourceIds)
The Amazon Resource Names (ARNs) of the dependent resources.
|
void |
setRelationType(String relationType)
The type of relationship between one resource and the other resource that it is related to or depends on.
|
String |
toString()
Returns a string representation of this object.
|
DependentEntity |
withDependentResourceIds(Collection<String> dependentResourceIds)
The Amazon Resource Names (ARNs) of the dependent resources.
|
DependentEntity |
withDependentResourceIds(String... dependentResourceIds)
The Amazon Resource Names (ARNs) of the dependent resources.
|
DependentEntity |
withRelationType(String relationType)
The type of relationship between one resource and the other resource that it is related to or depends on.
|
public void setRelationType(String relationType)
The type of relationship between one resource and the other resource that it is related to or depends on.
relationType
- The type of relationship between one resource and the other resource that it is related to or depends on.public String getRelationType()
The type of relationship between one resource and the other resource that it is related to or depends on.
public DependentEntity withRelationType(String relationType)
The type of relationship between one resource and the other resource that it is related to or depends on.
relationType
- The type of relationship between one resource and the other resource that it is related to or depends on.public List<String> getDependentResourceIds()
The Amazon Resource Names (ARNs) of the dependent resources.
public void setDependentResourceIds(Collection<String> dependentResourceIds)
The Amazon Resource Names (ARNs) of the dependent resources.
dependentResourceIds
- The Amazon Resource Names (ARNs) of the dependent resources.public DependentEntity withDependentResourceIds(String... dependentResourceIds)
The Amazon Resource Names (ARNs) of the dependent resources.
NOTE: This method appends the values to the existing list (if any). Use
setDependentResourceIds(java.util.Collection)
or withDependentResourceIds(java.util.Collection)
if you want to override the existing values.
dependentResourceIds
- The Amazon Resource Names (ARNs) of the dependent resources.public DependentEntity withDependentResourceIds(Collection<String> dependentResourceIds)
The Amazon Resource Names (ARNs) of the dependent resources.
dependentResourceIds
- The Amazon Resource Names (ARNs) of the dependent resources.public String toString()
toString
in class Object
Object.toString()
public DependentEntity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.