@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
List<Permission> |
getPermissions()
Contains details on the permissions an account has to configure Amazon Inspector.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
void |
setPermissions(Collection<Permission> permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountPermissionsResult |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
ListAccountPermissionsResult |
withPermissions(Collection<Permission> permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
|
ListAccountPermissionsResult |
withPermissions(Permission... permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
NextToken
value returned from the previous request to continue listing results after the first page.public ListAccountPermissionsResult withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public List<Permission> getPermissions()
Contains details on the permissions an account has to configure Amazon Inspector.
public void setPermissions(Collection<Permission> permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
permissions
- Contains details on the permissions an account has to configure Amazon Inspector.public ListAccountPermissionsResult withPermissions(Permission... permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
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
- Contains details on the permissions an account has to configure Amazon Inspector.public ListAccountPermissionsResult withPermissions(Collection<Permission> permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
permissions
- Contains details on the permissions an account has to configure Amazon Inspector.public String toString()
toString
in class Object
Object.toString()
public ListAccountPermissionsResult clone()