@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessGrantsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAccessGrantsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAccessGrantsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account that is making this request.
|
String |
getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your
Identity Center instance.
|
String |
getGranteeIdentifier()
The unique identifer of the
Grantee . |
String |
getGranteeType()
The type of the grantee to which access has been granted.
|
String |
getGrantScope()
The S3 path of the data to which you are granting access.
|
Integer |
getMaxResults()
The maximum number of access grants that you would like returned in the
List Access Grants response. |
String |
getNextToken()
A pagination token to request the next page of results.
|
String |
getPermission()
The type of permission granted to your S3 data, which can be set to one of the following values:
|
int |
hashCode() |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
void |
setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your
Identity Center instance.
|
void |
setGranteeIdentifier(String granteeIdentifier)
The unique identifer of the
Grantee . |
void |
setGranteeType(String granteeType)
The type of the grantee to which access has been granted.
|
void |
setGrantScope(String grantScope)
The S3 path of the data to which you are granting access.
|
void |
setMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the
List Access Grants response. |
void |
setNextToken(String nextToken)
A pagination token to request the next page of results.
|
void |
setPermission(String permission)
The type of permission granted to your S3 data, which can be set to one of the following values:
|
String |
toString()
Returns a string representation of this object.
|
ListAccessGrantsRequest |
withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
ListAccessGrantsRequest |
withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your
Identity Center instance.
|
ListAccessGrantsRequest |
withGranteeIdentifier(String granteeIdentifier)
The unique identifer of the
Grantee . |
ListAccessGrantsRequest |
withGranteeType(GranteeType granteeType)
The type of the grantee to which access has been granted.
|
ListAccessGrantsRequest |
withGranteeType(String granteeType)
The type of the grantee to which access has been granted.
|
ListAccessGrantsRequest |
withGrantScope(String grantScope)
The S3 path of the data to which you are granting access.
|
ListAccessGrantsRequest |
withMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the
List Access Grants response. |
ListAccessGrantsRequest |
withNextToken(String nextToken)
A pagination token to request the next page of results.
|
ListAccessGrantsRequest |
withPermission(Permission permission)
The type of permission granted to your S3 data, which can be set to one of the following values:
|
ListAccessGrantsRequest |
withPermission(String permission)
The type of permission granted to your S3 data, which can be set to one of the following values:
|
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 setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId
- The ID of the Amazon Web Services account that is making this request.public String getAccountId()
The ID of the Amazon Web Services account that is making this request.
public ListAccessGrantsRequest withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId
- The ID of the Amazon Web Services account that is making this request.public void setNextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants
request in order to retrieve the next page of results.
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants
request in order to retrieve the next page of results.public String getNextToken()
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants
request in order to retrieve the next page of results.
List Access Grants
request in order to retrieve the next page of results.public ListAccessGrantsRequest withNextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants
request in order to retrieve the next page of results.
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants
request in order to retrieve the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the List Access Grants
response.
If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.
maxResults
- The maximum number of access grants that you would like returned in the List Access Grants
response. If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.public Integer getMaxResults()
The maximum number of access grants that you would like returned in the List Access Grants
response.
If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.
List Access Grants
response. If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.public ListAccessGrantsRequest withMaxResults(Integer maxResults)
The maximum number of access grants that you would like returned in the List Access Grants
response.
If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.
maxResults
- The maximum number of access grants that you would like returned in the List Access Grants
response. If the results include the pagination token NextToken
, make another call using the
NextToken
to determine if there are more results.public void setGranteeType(String granteeType)
The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
granteeType
- The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
GranteeType
public String getGranteeType()
The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
GranteeType
public ListAccessGrantsRequest withGranteeType(String granteeType)
The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
granteeType
- The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
GranteeType
public ListAccessGrantsRequest withGranteeType(GranteeType granteeType)
The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your
corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3
Access Grants instance.
granteeType
- The type of the grantee to which access has been granted. It can be one of the following values:
IAM
- An IAM user or role.
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added
your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance
with your S3 Access Grants instance.
GranteeType
public void setGranteeIdentifier(String granteeIdentifier)
The unique identifer of the Grantee
. If the grantee type is IAM
, the identifier is the
IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the
identifier is 128-bit universally unique identifier (UUID) in the format
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services IAM
Identity Center instance.
granteeIdentifier
- The unique identifer of the Grantee
. If the grantee type is IAM
, the identifier
is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or
group, the identifier is 128-bit universally unique identifier (UUID) in the format
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services
IAM Identity Center instance.public String getGranteeIdentifier()
The unique identifer of the Grantee
. If the grantee type is IAM
, the identifier is the
IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the
identifier is 128-bit universally unique identifier (UUID) in the format
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services IAM
Identity Center instance.
Grantee
. If the grantee type is IAM
, the identifier
is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or
group, the identifier is 128-bit universally unique identifier (UUID) in the format
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services
IAM Identity Center instance.public ListAccessGrantsRequest withGranteeIdentifier(String granteeIdentifier)
The unique identifer of the Grantee
. If the grantee type is IAM
, the identifier is the
IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the
identifier is 128-bit universally unique identifier (UUID) in the format
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services IAM
Identity Center instance.
granteeIdentifier
- The unique identifer of the Grantee
. If the grantee type is IAM
, the identifier
is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or
group, the identifier is 128-bit universally unique identifier (UUID) in the format
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services
IAM Identity Center instance.public void setPermission(String permission)
The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
permission
- The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public String getPermission()
The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public ListAccessGrantsRequest withPermission(String permission)
The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
permission
- The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public ListAccessGrantsRequest withPermission(Permission permission)
The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
permission
- The type of permission granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public void setGrantScope(String grantScope)
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.
grantScope
- The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.public String getGrantScope()
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.
Subprefix
to the location scope.public ListAccessGrantsRequest withGrantScope(String grantScope)
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.
grantScope
- The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.public void setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
applicationArn
- The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with
your Identity Center instance. If the grant includes an application ARN, the grantee can only access the
S3 data through this application.public String getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
public ListAccessGrantsRequest withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
applicationArn
- The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with
your Identity Center instance. If the grant includes an application ARN, the grantee can only access the
S3 data through this application.public String toString()
toString
in class Object
Object.toString()
public ListAccessGrantsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()