Interface ListAccessGrantsLocationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListAccessGrantsLocationsRequest.Builder,
,ListAccessGrantsLocationsRequest> S3ControlRequest.Builder
,SdkBuilder<ListAccessGrantsLocationsRequest.Builder,
,ListAccessGrantsLocationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAccessGrantsLocationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account that is making this request.locationScope
(String locationScope) The S3 path to the location that you are registering.maxResults
(Integer maxResults) The maximum number of access grants that you would like returned in theList 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, sdkFields
-
Method Details
-
accountId
The ID of the Amazon Web Services account that is making this request.
- Parameters:
accountId
- The ID of the Amazon Web Services account that is making this request.- 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 Access Grants Locations
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 Access Grants Locations
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 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 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.
-
locationScope
The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a buckets3://<bucket>
, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/
prefix or object key names that start with themarketing/campaigns/
prefix.- Parameters:
locationScope
- The S3 path to the location that you are registering. The location scope can be the default S3 locations3://
, the S3 path to a buckets3://<bucket>
, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/
prefix or object key names that start with themarketing/campaigns/
prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAccessGrantsLocationsRequest.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
ListAccessGrantsLocationsRequest.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.
-