@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGroupResourcesItem extends Object implements Serializable, Cloneable, StructuredPojo
A structure returned by the ListGroupResources operation that contains identity and group membership status information for one of the resources in the group.
Constructor and Description |
---|
ListGroupResourcesItem() |
Modifier and Type | Method and Description |
---|---|
ListGroupResourcesItem |
clone() |
boolean |
equals(Object obj) |
ResourceIdentifier |
getIdentifier() |
ResourceStatus |
getStatus()
A structure that contains the status of this resource's membership in the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentifier(ResourceIdentifier identifier) |
void |
setStatus(ResourceStatus status)
A structure that contains the status of this resource's membership in the group.
|
String |
toString()
Returns a string representation of this object.
|
ListGroupResourcesItem |
withIdentifier(ResourceIdentifier identifier) |
ListGroupResourcesItem |
withStatus(ResourceStatus status)
A structure that contains the status of this resource's membership in the group.
|
public void setIdentifier(ResourceIdentifier identifier)
identifier
- public ResourceIdentifier getIdentifier()
public ListGroupResourcesItem withIdentifier(ResourceIdentifier identifier)
identifier
- public void setStatus(ResourceStatus status)
A structure that contains the status of this resource's membership in the group.
This field is present in the response only if the group is of type AWS::EC2::HostManagement
.
status
- A structure that contains the status of this resource's membership in the group.
This field is present in the response only if the group is of type AWS::EC2::HostManagement
.
public ResourceStatus getStatus()
A structure that contains the status of this resource's membership in the group.
This field is present in the response only if the group is of type AWS::EC2::HostManagement
.
This field is present in the response only if the group is of type AWS::EC2::HostManagement
.
public ListGroupResourcesItem withStatus(ResourceStatus status)
A structure that contains the status of this resource's membership in the group.
This field is present in the response only if the group is of type AWS::EC2::HostManagement
.
status
- A structure that contains the status of this resource's membership in the group.
This field is present in the response only if the group is of type AWS::EC2::HostManagement
.
public String toString()
toString
in class Object
Object.toString()
public ListGroupResourcesItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.