@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
Information about an instance of an AWS resource associated with a project.
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
addAttributesEntry(String key,
String value) |
Resource |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getArn() |
Map<String,String> |
getAttributes() |
String |
getFeature() |
String |
getName() |
String |
getType() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn) |
void |
setAttributes(Map<String,String> attributes) |
void |
setFeature(String feature) |
void |
setName(String name) |
void |
setType(String type) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Resource |
withArn(String arn) |
Resource |
withAttributes(Map<String,String> attributes) |
Resource |
withFeature(String feature) |
Resource |
withName(String name) |
Resource |
withType(String type) |
public void setType(String type)
type - public String getType()
public Resource withType(String type)
type - public void setName(String name)
name - public String getName()
public Resource withName(String name)
name - public void setArn(String arn)
arn - public String getArn()
public Resource withArn(String arn)
arn - public void setFeature(String feature)
feature - public String getFeature()
public Resource withFeature(String feature)
feature - public Resource withAttributes(Map<String,String> attributes)
attributes - public Resource clearAttributesEntries()
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.