@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAccessPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAccessPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIamArn()
The ARN of the IAM user.
|
String |
getIdentityId()
The ID of the identity.
|
String |
getIdentityType()
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user).
|
Integer |
getMaxResults()
The maximum number of results to return for each paginated request.
|
String |
getNextToken()
The token to be used for the next set of paginated results.
|
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The type of resource (portal or project).
|
int |
hashCode() |
void |
setIamArn(String iamArn)
The ARN of the IAM user.
|
void |
setIdentityId(String identityId)
The ID of the identity.
|
void |
setIdentityType(String identityType)
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user).
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The type of resource (portal or project).
|
String |
toString()
Returns a string representation of this object.
|
ListAccessPoliciesRequest |
withIamArn(String iamArn)
The ARN of the IAM user.
|
ListAccessPoliciesRequest |
withIdentityId(String identityId)
The ID of the identity.
|
ListAccessPoliciesRequest |
withIdentityType(IdentityType identityType)
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user).
|
ListAccessPoliciesRequest |
withIdentityType(String identityType)
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user).
|
ListAccessPoliciesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
|
ListAccessPoliciesRequest |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
ListAccessPoliciesRequest |
withResourceId(String resourceId)
The ID of the resource.
|
ListAccessPoliciesRequest |
withResourceType(ResourceType resourceType)
The type of resource (portal or project).
|
ListAccessPoliciesRequest |
withResourceType(String resourceType)
The type of resource (portal or project).
|
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 setIdentityType(String identityType)
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.
identityType
- The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.IdentityType
public String getIdentityType()
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.
identityId
.IdentityType
public ListAccessPoliciesRequest withIdentityType(String identityType)
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.
identityType
- The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.IdentityType
public ListAccessPoliciesRequest withIdentityType(IdentityType identityType)
The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.
identityType
- The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is
required if you specify identityId
.IdentityType
public void setIdentityId(String identityId)
The ID of the identity. This parameter is required if you specify USER
or GROUP
for
identityType
.
identityId
- The ID of the identity. This parameter is required if you specify USER
or GROUP
for identityType
.public String getIdentityId()
The ID of the identity. This parameter is required if you specify USER
or GROUP
for
identityType
.
USER
or GROUP
for identityType
.public ListAccessPoliciesRequest withIdentityId(String identityId)
The ID of the identity. This parameter is required if you specify USER
or GROUP
for
identityType
.
identityId
- The ID of the identity. This parameter is required if you specify USER
or GROUP
for identityType
.public void setResourceType(String resourceType)
The type of resource (portal or project). This parameter is required if you specify resourceId
.
resourceType
- The type of resource (portal or project). This parameter is required if you specify
resourceId
.ResourceType
public String getResourceType()
The type of resource (portal or project). This parameter is required if you specify resourceId
.
resourceId
.ResourceType
public ListAccessPoliciesRequest withResourceType(String resourceType)
The type of resource (portal or project). This parameter is required if you specify resourceId
.
resourceType
- The type of resource (portal or project). This parameter is required if you specify
resourceId
.ResourceType
public ListAccessPoliciesRequest withResourceType(ResourceType resourceType)
The type of resource (portal or project). This parameter is required if you specify resourceId
.
resourceType
- The type of resource (portal or project). This parameter is required if you specify
resourceId
.ResourceType
public void setResourceId(String resourceId)
The ID of the resource. This parameter is required if you specify resourceType
.
resourceId
- The ID of the resource. This parameter is required if you specify resourceType
.public String getResourceId()
The ID of the resource. This parameter is required if you specify resourceType
.
resourceType
.public ListAccessPoliciesRequest withResourceId(String resourceId)
The ID of the resource. This parameter is required if you specify resourceType
.
resourceId
- The ID of the resource. This parameter is required if you specify resourceType
.public void setIamArn(String iamArn)
The ARN of the IAM user. For more information, see IAM ARNs in the IAM
User Guide. This parameter is required if you specify IAM
for identityType
.
iamArn
- The ARN of the IAM user. For more information, see IAM ARNs in the
IAM User Guide. This parameter is required if you specify IAM
for
identityType
.public String getIamArn()
The ARN of the IAM user. For more information, see IAM ARNs in the IAM
User Guide. This parameter is required if you specify IAM
for identityType
.
IAM
for
identityType
.public ListAccessPoliciesRequest withIamArn(String iamArn)
The ARN of the IAM user. For more information, see IAM ARNs in the IAM
User Guide. This parameter is required if you specify IAM
for identityType
.
iamArn
- The ARN of the IAM user. For more information, see IAM ARNs in the
IAM User Guide. This parameter is required if you specify IAM
for
identityType
.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results.
nextToken
- The token to be used for the next set of paginated results.public String getNextToken()
The token to be used for the next set of paginated results.
public ListAccessPoliciesRequest withNextToken(String nextToken)
The token to be used for the next set of paginated results.
nextToken
- The token to be used for the next set of paginated results.public void setMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
Default: 50
maxResults
- The maximum number of results to return for each paginated request.
Default: 50
public Integer getMaxResults()
The maximum number of results to return for each paginated request.
Default: 50
Default: 50
public ListAccessPoliciesRequest withMaxResults(Integer maxResults)
The maximum number of results to return for each paginated request.
Default: 50
maxResults
- The maximum number of results to return for each paginated request.
Default: 50
public String toString()
toString
in class Object
Object.toString()
public ListAccessPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()