@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourcesListItem extends Object implements Serializable, Cloneable, StructuredPojo
The resource in a list of resources.
Constructor and Description |
---|
ResourcesListItem() |
Modifier and Type | Method and Description |
---|---|
ResourcesListItem |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
The message returned if the call fails.
|
String |
getResourceArn()
The Amazon resource name (ARN) of the resource.
|
String |
getResourceType()
Provides information about the AppRegistry resource type.
|
String |
getStatus()
The status of the list item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
The message returned if the call fails.
|
void |
setResourceArn(String resourceArn)
The Amazon resource name (ARN) of the resource.
|
void |
setResourceType(String resourceType)
Provides information about the AppRegistry resource type.
|
void |
setStatus(String status)
The status of the list item.
|
String |
toString()
Returns a string representation of this object.
|
ResourcesListItem |
withErrorMessage(String errorMessage)
The message returned if the call fails.
|
ResourcesListItem |
withResourceArn(String resourceArn)
The Amazon resource name (ARN) of the resource.
|
ResourcesListItem |
withResourceType(String resourceType)
Provides information about the AppRegistry resource type.
|
ResourcesListItem |
withStatus(String status)
The status of the list item.
|
public void setResourceArn(String resourceArn)
The Amazon resource name (ARN) of the resource.
resourceArn
- The Amazon resource name (ARN) of the resource.public String getResourceArn()
The Amazon resource name (ARN) of the resource.
public ResourcesListItem withResourceArn(String resourceArn)
The Amazon resource name (ARN) of the resource.
resourceArn
- The Amazon resource name (ARN) of the resource.public void setErrorMessage(String errorMessage)
The message returned if the call fails.
errorMessage
- The message returned if the call fails.public String getErrorMessage()
The message returned if the call fails.
public ResourcesListItem withErrorMessage(String errorMessage)
The message returned if the call fails.
errorMessage
- The message returned if the call fails.public void setStatus(String status)
The status of the list item.
status
- The status of the list item.public String getStatus()
The status of the list item.
public ResourcesListItem withStatus(String status)
The status of the list item.
status
- The status of the list item.public void setResourceType(String resourceType)
Provides information about the AppRegistry resource type.
resourceType
- Provides information about the AppRegistry resource type.public String getResourceType()
Provides information about the AppRegistry resource type.
public ResourcesListItem withResourceType(String resourceType)
Provides information about the AppRegistry resource type.
resourceType
- Provides information about the AppRegistry resource type.public String toString()
toString
in class Object
Object.toString()
public ResourcesListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.