Interface ListCallerAccessGrantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCallerAccessGrantsResponse.Builder,,ListCallerAccessGrantsResponse> S3ControlResponse.Builder,SdkBuilder<ListCallerAccessGrantsResponse.Builder,,ListCallerAccessGrantsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCallerAccessGrantsResponse
-
Method Summary
Modifier and TypeMethodDescriptioncallerAccessGrantsList(Collection<ListCallerAccessGrantsEntry> callerAccessGrantsList) A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.callerAccessGrantsList(Consumer<ListCallerAccessGrantsEntry.Builder>... callerAccessGrantsList) A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.callerAccessGrantsList(ListCallerAccessGrantsEntry... callerAccessGrantsList) A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.A pagination token that you can use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A pagination token that you can use to request the next page of results. Pass this value into a subsequent
List Caller Access Grantsrequest in order to retrieve the next page of results.- Parameters:
nextToken- A pagination token that you can use to request the next page of results. Pass this value into a subsequentList Caller Access Grantsrequest in order to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callerAccessGrantsList
ListCallerAccessGrantsResponse.Builder callerAccessGrantsList(Collection<ListCallerAccessGrantsEntry> callerAccessGrantsList) A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.
- Parameters:
callerAccessGrantsList- A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callerAccessGrantsList
ListCallerAccessGrantsResponse.Builder callerAccessGrantsList(ListCallerAccessGrantsEntry... callerAccessGrantsList) A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.
- Parameters:
callerAccessGrantsList- A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callerAccessGrantsList
ListCallerAccessGrantsResponse.Builder callerAccessGrantsList(Consumer<ListCallerAccessGrantsEntry.Builder>... callerAccessGrantsList) A list of the caller's access grants that were created using S3 Access Grants and that grant the caller access to the S3 data of the Amazon Web Services account ID that was specified in the request.
This is a convenience method that creates an instance of theListCallerAccessGrantsEntry.Builderavoiding the need to create one manually viaListCallerAccessGrantsEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallerAccessGrantsList(List<ListCallerAccessGrantsEntry>).- Parameters:
callerAccessGrantsList- a consumer that will call methods onListCallerAccessGrantsEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-