Interface ListCallerAccessGrantsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListCallerAccessGrantsRequest.Builder,
,ListCallerAccessGrantsRequest> S3ControlRequest.Builder
,SdkBuilder<ListCallerAccessGrantsRequest.Builder,
,ListCallerAccessGrantsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCallerAccessGrantsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID of the S3 Access Grants instance.allowedByApplication
(Boolean allowedByApplication) If this optional parameter is passed in the request, a filter is applied to the results.grantScope
(String grantScope) The S3 path of the data that you would like to access.maxResults
(Integer maxResults) The maximum number of access grants that you would like returned in theList Caller Access Grants
response.A pagination token to request the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID of the S3 Access Grants instance.
- Parameters:
accountId
- The Amazon Web Services account ID of the S3 Access Grants instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantScope
The S3 path of the data that you would like to access. Must start with
s3://
. You can optionally pass only the beginning characters of a path, and S3 Access Grants will search for all applicable grants for the path fragment.- Parameters:
grantScope
- The S3 path of the data that you would like to access. Must start withs3://
. You can optionally pass only the beginning characters of a path, and S3 Access Grants will search for all applicable grants for the path fragment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token to request the next page of results. Pass this value into a subsequent
List Caller Access Grants
request in order to retrieve the next page of results.- Parameters:
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequentList Caller Access Grants
request in order to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of access grants that you would like returned in the
List Caller Access Grants
response. If the results include the pagination tokenNextToken
, make another call using theNextToken
to determine if there are more results.- Parameters:
maxResults
- The maximum number of access grants that you would like returned in theList Caller Access Grants
response. If the results include the pagination tokenNextToken
, make another call using theNextToken
to determine if there are more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedByApplication
If this optional parameter is passed in the request, a filter is applied to the results. The results will include only the access grants for the caller's Identity Center application or for any other applications (
ALL
).- Parameters:
allowedByApplication
- If this optional parameter is passed in the request, a filter is applied to the results. The results will include only the access grants for the caller's Identity Center application or for any other applications (ALL
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCallerAccessGrantsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListCallerAccessGrantsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-