@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceSharePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceSharePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceSharePermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ResourceSharePermissionSummary> |
getPermissions()
The permissions associated with the resource share.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPermissions(Collection<ResourceSharePermissionSummary> permissions)
The permissions associated with the resource share.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceSharePermissionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListResourceSharePermissionsResult |
withPermissions(Collection<ResourceSharePermissionSummary> permissions)
The permissions associated with the resource share.
|
ListResourceSharePermissionsResult |
withPermissions(ResourceSharePermissionSummary... permissions)
The permissions associated with the resource share.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceSharePermissionSummary> getPermissions()
The permissions associated with the resource share.
public void setPermissions(Collection<ResourceSharePermissionSummary> permissions)
The permissions associated with the resource share.
permissions
- The permissions associated with the resource share.public ListResourceSharePermissionsResult withPermissions(ResourceSharePermissionSummary... permissions)
The permissions associated with the resource share.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- The permissions associated with the resource share.public ListResourceSharePermissionsResult withPermissions(Collection<ResourceSharePermissionSummary> permissions)
The permissions associated with the resource share.
permissions
- The permissions associated with the resource share.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public ListResourceSharePermissionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public ListResourceSharePermissionsResult clone()