@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()
The ARNs of the resources that failed to be added to the group by this operation.
|
List<String> |
getSucceeded()
The ARNs of the resources that were successfully added to the group by this operation.
|
int |
hashCode() |
void |
setFailed(Collection<FailedResource> failed)
The ARNs of the resources that failed to be added to the group by this operation.
|
void |
setSucceeded(Collection<String> succeeded)
The ARNs of the 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)
The ARNs of the resources that failed to be added to the group by this operation.
|
GroupResourcesResult |
withFailed(FailedResource... failed)
The ARNs of the resources that failed to be added to the group by this operation.
|
GroupResourcesResult |
withSucceeded(Collection<String> succeeded)
The ARNs of the resources that were successfully added to the group by this operation.
|
GroupResourcesResult |
withSucceeded(String... succeeded)
The ARNs of the resources that were successfully added to the group by this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<String> getSucceeded()
The ARNs of the resources that were successfully added to the group by this operation.
public void setSucceeded(Collection<String> succeeded)
The ARNs of the resources that were successfully added to the group by this operation.
succeeded - The ARNs of the resources that were successfully added to the group by this operation.public GroupResourcesResult withSucceeded(String... succeeded)
The ARNs of the 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 - The ARNs of the resources that were successfully added to the group by this operation.public GroupResourcesResult withSucceeded(Collection<String> succeeded)
The ARNs of the resources that were successfully added to the group by this operation.
succeeded - The ARNs of the resources that were successfully added to the group by this operation.public List<FailedResource> getFailed()
The ARNs of the resources that failed to be added to the group by this operation.
public void setFailed(Collection<FailedResource> failed)
The ARNs of the resources that failed to be added to the group by this operation.
failed - The ARNs of the resources that failed to be added to the group by this operation.public GroupResourcesResult withFailed(FailedResource... failed)
The ARNs of the 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 - The ARNs of the resources that failed to be added to the group by this operation.public GroupResourcesResult withFailed(Collection<FailedResource> failed)
The ARNs of the resources that failed to be added to the group by this operation.
failed - The ARNs of the resources that failed to be added to the group by this operation.public String toString()
toString in class ObjectObject.toString()public GroupResourcesResult clone()
Copyright © 2020. All rights reserved.