@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GroupResourcesResult() |
Modifier and Type | Method and Description |
---|---|
GroupResourcesResult |
clone() |
boolean |
equals(Object obj) |
List<FailedResource> |
getFailed()
A list of ARNs of any resources that failed to be added to the group by this operation.
|
List<PendingResource> |
getPending()
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
List<String> |
getSucceeded()
A list of ARNs of resources that were successfully added to the group by this operation.
|
int |
hashCode() |
void |
setFailed(Collection<FailedResource> failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
|
void |
setPending(Collection<PendingResource> pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
void |
setSucceeded(Collection<String> succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
|
String |
toString()
Returns a string representation of this object.
|
GroupResourcesResult |
withFailed(Collection<FailedResource> failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
|
GroupResourcesResult |
withFailed(FailedResource... failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
|
GroupResourcesResult |
withPending(Collection<PendingResource> pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
GroupResourcesResult |
withPending(PendingResource... pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
|
GroupResourcesResult |
withSucceeded(Collection<String> succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
|
GroupResourcesResult |
withSucceeded(String... succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getSucceeded()
A list of ARNs of resources that were successfully added to the group by this operation.
public void setSucceeded(Collection<String> succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
succeeded
- A list of ARNs of resources that were successfully added to the group by this operation.public GroupResourcesResult withSucceeded(String... succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
NOTE: This method appends the values to the existing list (if any). Use
setSucceeded(java.util.Collection)
or withSucceeded(java.util.Collection)
if you want to
override the existing values.
succeeded
- A list of ARNs of resources that were successfully added to the group by this operation.public GroupResourcesResult withSucceeded(Collection<String> succeeded)
A list of ARNs of resources that were successfully added to the group by this operation.
succeeded
- A list of ARNs of resources that were successfully added to the group by this operation.public List<FailedResource> getFailed()
A list of ARNs of any resources that failed to be added to the group by this operation.
public void setFailed(Collection<FailedResource> failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
failed
- A list of ARNs of any resources that failed to be added to the group by this operation.public GroupResourcesResult withFailed(FailedResource... failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection)
or withFailed(java.util.Collection)
if you want to override the
existing values.
failed
- A list of ARNs of any resources that failed to be added to the group by this operation.public GroupResourcesResult withFailed(Collection<FailedResource> failed)
A list of ARNs of any resources that failed to be added to the group by this operation.
failed
- A list of ARNs of any resources that failed to be added to the group by this operation.public List<PendingResource> getPending()
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
These pending additions continue asynchronously. You can check the status of pending additions by using the
ListGroupResources
operation, and checking the Resources
array in the response
and the Status
field of each object in that array.
ListGroupResources
operation, and checking the Resources
array in the response and the Status
field of each object in that array.public void setPending(Collection<PendingResource> pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
These pending additions continue asynchronously. You can check the status of pending additions by using the
ListGroupResources
operation, and checking the Resources
array in the response
and the Status
field of each object in that array.
pending
- A list of ARNs of any resources that are still in the process of being added to the group by this
operation. These pending additions continue asynchronously. You can check the status of pending additions
by using the ListGroupResources
operation, and checking the Resources
array in the response and the Status
field of each object in that array.public GroupResourcesResult withPending(PendingResource... pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
These pending additions continue asynchronously. You can check the status of pending additions by using the
ListGroupResources
operation, and checking the Resources
array in the response
and the Status
field of each object in that array.
NOTE: This method appends the values to the existing list (if any). Use
setPending(java.util.Collection)
or withPending(java.util.Collection)
if you want to override
the existing values.
pending
- A list of ARNs of any resources that are still in the process of being added to the group by this
operation. These pending additions continue asynchronously. You can check the status of pending additions
by using the ListGroupResources
operation, and checking the Resources
array in the response and the Status
field of each object in that array.public GroupResourcesResult withPending(Collection<PendingResource> pending)
A list of ARNs of any resources that are still in the process of being added to the group by this operation.
These pending additions continue asynchronously. You can check the status of pending additions by using the
ListGroupResources
operation, and checking the Resources
array in the response
and the Status
field of each object in that array.
pending
- A list of ARNs of any resources that are still in the process of being added to the group by this
operation. These pending additions continue asynchronously. You can check the status of pending additions
by using the ListGroupResources
operation, and checking the Resources
array in the response and the Status
field of each object in that array.public String toString()
toString
in class Object
Object.toString()
public GroupResourcesResult clone()