@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelatedResource extends Object implements Serializable, Cloneable, StructuredPojo
Information about a related resource.
| Constructor and Description |
|---|
RelatedResource() |
| Modifier and Type | Method and Description |
|---|---|
RelatedResource |
addAdditionalInfoEntry(String key,
String value)
Add a single AdditionalInfo entry
|
RelatedResource |
clearAdditionalInfoEntries()
Removes all the entries added into AdditionalInfo.
|
RelatedResource |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalInfo()
Other information about the resource.
|
ResourceIdentifier |
getResourceIdentifier()
Information that identifies the resource.
|
String |
getResourceType()
The type of resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalInfo(Map<String,String> additionalInfo)
Other information about the resource.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the resource.
|
void |
setResourceType(String resourceType)
The type of resource.
|
String |
toString()
Returns a string representation of this object.
|
RelatedResource |
withAdditionalInfo(Map<String,String> additionalInfo)
Other information about the resource.
|
RelatedResource |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the resource.
|
RelatedResource |
withResourceType(ResourceType resourceType)
The type of resource.
|
RelatedResource |
withResourceType(String resourceType)
The type of resource.
|
public void setResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.ResourceTypepublic String getResourceType()
The type of resource.
ResourceTypepublic RelatedResource withResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.ResourceTypepublic RelatedResource withResourceType(ResourceType resourceType)
The type of resource.
resourceType - The type of resource.ResourceTypepublic void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the resource.
resourceIdentifier - Information that identifies the resource.public ResourceIdentifier getResourceIdentifier()
Information that identifies the resource.
public RelatedResource withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the resource.
resourceIdentifier - Information that identifies the resource.public Map<String,String> getAdditionalInfo()
Other information about the resource.
public void setAdditionalInfo(Map<String,String> additionalInfo)
Other information about the resource.
additionalInfo - Other information about the resource.public RelatedResource withAdditionalInfo(Map<String,String> additionalInfo)
Other information about the resource.
additionalInfo - Other information about the resource.public RelatedResource addAdditionalInfoEntry(String key, String value)
public RelatedResource clearAdditionalInfoEntries()
public String toString()
toString in class ObjectObject.toString()public RelatedResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.