@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGroupId()
(Optional) Limits the results to only the group that matches this ID.
|
Integer |
getMaxResults()
The maximum number of results to include in the response.
|
String |
getNextToken()
The token to use when requesting the next set of results.
|
String |
getUserId()
(Optional) Limits the results to only the user that matches this ID.
|
String |
getUserType()
(Optional) If you specify
SSO_USER , then only the permissions of IAM Identity Center users are
returned. |
String |
getWorkspaceId()
The ID of the workspace to list permissions for.
|
int |
hashCode() |
void |
setGroupId(String groupId)
(Optional) Limits the results to only the group that matches this ID.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of results.
|
void |
setUserId(String userId)
(Optional) Limits the results to only the user that matches this ID.
|
void |
setUserType(String userType)
(Optional) If you specify
SSO_USER , then only the permissions of IAM Identity Center users are
returned. |
void |
setWorkspaceId(String workspaceId)
The ID of the workspace to list permissions for.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionsRequest |
withGroupId(String groupId)
(Optional) Limits the results to only the group that matches this ID.
|
ListPermissionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
ListPermissionsRequest |
withNextToken(String nextToken)
The token to use when requesting the next set of results.
|
ListPermissionsRequest |
withUserId(String userId)
(Optional) Limits the results to only the user that matches this ID.
|
ListPermissionsRequest |
withUserType(String userType)
(Optional) If you specify
SSO_USER , then only the permissions of IAM Identity Center users are
returned. |
ListPermissionsRequest |
withUserType(UserType userType)
(Optional) If you specify
SSO_USER , then only the permissions of IAM Identity Center users are
returned. |
ListPermissionsRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace to list permissions for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGroupId(String groupId)
(Optional) Limits the results to only the group that matches this ID.
groupId
- (Optional) Limits the results to only the group that matches this ID.public String getGroupId()
(Optional) Limits the results to only the group that matches this ID.
public ListPermissionsRequest withGroupId(String groupId)
(Optional) Limits the results to only the group that matches this ID.
groupId
- (Optional) Limits the results to only the group that matches this ID.public void setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
maxResults
- The maximum number of results to include in the response.public Integer getMaxResults()
The maximum number of results to include in the response.
public ListPermissionsRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
maxResults
- The maximum number of results to include in the response.public void setNextToken(String nextToken)
The token to use when requesting the next set of results. You received this token from a previous
ListPermissions
operation.
nextToken
- The token to use when requesting the next set of results. You received this token from a previous
ListPermissions
operation.public String getNextToken()
The token to use when requesting the next set of results. You received this token from a previous
ListPermissions
operation.
ListPermissions
operation.public ListPermissionsRequest withNextToken(String nextToken)
The token to use when requesting the next set of results. You received this token from a previous
ListPermissions
operation.
nextToken
- The token to use when requesting the next set of results. You received this token from a previous
ListPermissions
operation.public void setUserId(String userId)
(Optional) Limits the results to only the user that matches this ID.
userId
- (Optional) Limits the results to only the user that matches this ID.public String getUserId()
(Optional) Limits the results to only the user that matches this ID.
public ListPermissionsRequest withUserId(String userId)
(Optional) Limits the results to only the user that matches this ID.
userId
- (Optional) Limits the results to only the user that matches this ID.public void setUserType(String userType)
(Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users are
returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups are returned.
userType
- (Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users
are returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups
are returned.UserType
public String getUserType()
(Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users are
returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups are returned.
SSO_USER
, then only the permissions of IAM Identity Center users
are returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups
are returned.UserType
public ListPermissionsRequest withUserType(String userType)
(Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users are
returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups are returned.
userType
- (Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users
are returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups
are returned.UserType
public ListPermissionsRequest withUserType(UserType userType)
(Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users are
returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups are returned.
userType
- (Optional) If you specify SSO_USER
, then only the permissions of IAM Identity Center users
are returned. If you specify SSO_GROUP
, only the permissions of IAM Identity Center groups
are returned.UserType
public void setWorkspaceId(String workspaceId)
The ID of the workspace to list permissions for. This parameter is required.
workspaceId
- The ID of the workspace to list permissions for. This parameter is required.public String getWorkspaceId()
The ID of the workspace to list permissions for. This parameter is required.
public ListPermissionsRequest withWorkspaceId(String workspaceId)
The ID of the workspace to list permissions for. This parameter is required.
workspaceId
- The ID of the workspace to list permissions for. This parameter is required.public String toString()
toString
in class Object
Object.toString()
public ListPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()