@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) |
RelatedResource |
clearAdditionalInfoEntries()
Removes all the entries added into AdditionalInfo.
|
RelatedResource |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalInfo()
Additional information about the resource.
|
ResourceIdentifier |
getResourceIdentifier()
Information identifying 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)
Additional information about the resource.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying 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)
Additional information about the resource.
|
RelatedResource |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying 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.ResourceType
public String getResourceType()
The type of resource.
ResourceType
public RelatedResource withResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public RelatedResource withResourceType(ResourceType resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the resource.
resourceIdentifier
- Information identifying the resource.public ResourceIdentifier getResourceIdentifier()
Information identifying the resource.
public RelatedResource withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the resource.
resourceIdentifier
- Information identifying the resource.public Map<String,String> getAdditionalInfo()
Additional information about the resource.
public void setAdditionalInfo(Map<String,String> additionalInfo)
Additional information about the resource.
additionalInfo
- Additional information about the resource.public RelatedResource withAdditionalInfo(Map<String,String> additionalInfo)
Additional information about the resource.
additionalInfo
- Additional information about the resource.public RelatedResource addAdditionalInfoEntry(String key, String value)
public RelatedResource clearAdditionalInfoEntries()
public String toString()
toString
in class Object
Object.toString()
public RelatedResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.