Interface ListCallerAccessGrantsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCallerAccessGrantsResponse.Builder,ListCallerAccessGrantsResponse>,S3ControlResponse.Builder,SdkBuilder<ListCallerAccessGrantsResponse.Builder,ListCallerAccessGrantsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCallerAccessGrantsResponse
public static interface ListCallerAccessGrantsResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListCallerAccessGrantsResponse.Builder,ListCallerAccessGrantsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCallerAccessGrantsResponse.BuildercallerAccessGrantsList(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.ListCallerAccessGrantsResponse.BuildercallerAccessGrantsList(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.ListCallerAccessGrantsResponse.BuildercallerAccessGrantsList(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.ListCallerAccessGrantsResponse.BuildernextToken(String nextToken)A pagination token that you can use to request the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListCallerAccessGrantsResponse.Builder nextToken(String 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 to#callerAccessGrantsList(List.) - 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:
#callerAccessGrantsList(java.util.Collection)
-
-