@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResourceResult() |
Modifier and Type | Method and Description |
---|---|
GetResourceResult |
clone() |
boolean |
equals(Object obj) |
ResourceDescription |
getResourceDescription() |
String |
getTypeName()
The name of the resource type.
|
int |
hashCode() |
void |
setResourceDescription(ResourceDescription resourceDescription) |
void |
setTypeName(String typeName)
The name of the resource type.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceResult |
withResourceDescription(ResourceDescription resourceDescription) |
GetResourceResult |
withTypeName(String typeName)
The name of the resource type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTypeName(String typeName)
The name of the resource type.
typeName
- The name of the resource type.public String getTypeName()
The name of the resource type.
public GetResourceResult withTypeName(String typeName)
The name of the resource type.
typeName
- The name of the resource type.public void setResourceDescription(ResourceDescription resourceDescription)
resourceDescription
- public ResourceDescription getResourceDescription()
public GetResourceResult withResourceDescription(ResourceDescription resourceDescription)
resourceDescription
- public String toString()
toString
in class Object
Object.toString()
public GetResourceResult clone()