@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddResourcePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddResourcePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
AddResourcePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<ShareResult> |
getShareResults()
The share results.
|
int |
hashCode() |
void |
setShareResults(Collection<ShareResult> shareResults)
The share results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddResourcePermissionsResult |
withShareResults(Collection<ShareResult> shareResults)
The share results.
|
AddResourcePermissionsResult |
withShareResults(ShareResult... shareResults)
The share results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ShareResult> getShareResults()
The share results.
public void setShareResults(Collection<ShareResult> shareResults)
The share results.
shareResults
- The share results.public AddResourcePermissionsResult withShareResults(ShareResult... shareResults)
The share results.
NOTE: This method appends the values to the existing list (if any). Use
setShareResults(java.util.Collection)
or withShareResults(java.util.Collection)
if you want to
override the existing values.
shareResults
- The share results.public AddResourcePermissionsResult withShareResults(Collection<ShareResult> shareResults)
The share results.
shareResults
- The share results.public String toString()
toString
in class Object
Object.toString()
public AddResourcePermissionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.