@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
ListPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If present, this value indicates that more output is available than is included in the current response.
|
List<ResourceSharePermissionSummary> |
getPermissions()
An array of objects with information about the permissions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
void |
setPermissions(Collection<ResourceSharePermissionSummary> permissions)
An array of objects with information about the permissions.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionsResult |
withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
ListPermissionsResult |
withPermissions(Collection<ResourceSharePermissionSummary> permissions)
An array of objects with information about the permissions.
|
ListPermissionsResult |
withPermissions(ResourceSharePermissionSummary... permissions)
An array of objects with information about the permissions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceSharePermissionSummary> getPermissions()
An array of objects with information about the permissions.
public void setPermissions(Collection<ResourceSharePermissionSummary> permissions)
An array of objects with information about the permissions.
permissions
- An array of objects with information about the permissions.public ListPermissionsResult withPermissions(ResourceSharePermissionSummary... permissions)
An array of objects with information about the permissions.
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
- An array of objects with information about the permissions.public ListPermissionsResult withPermissions(Collection<ResourceSharePermissionSummary> permissions)
An array of objects with information about the permissions.
permissions
- An array of objects with information about the permissions.public void setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String getNextToken()
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public ListPermissionsResult withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String toString()
toString
in class Object
Object.toString()
public ListPermissionsResult clone()