Interface ListDirectoryBucketsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDirectoryBucketsResponse.Builder,ListDirectoryBucketsResponse>
,S3Response.Builder
,SdkBuilder<ListDirectoryBucketsResponse.Builder,ListDirectoryBucketsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListDirectoryBucketsResponse
public static interface ListDirectoryBucketsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListDirectoryBucketsResponse.Builder,ListDirectoryBucketsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDirectoryBucketsResponse.Builder
buckets(Collection<Bucket> buckets)
The list of buckets owned by the requester.ListDirectoryBucketsResponse.Builder
buckets(Consumer<Bucket.Builder>... buckets)
The list of buckets owned by the requester.ListDirectoryBucketsResponse.Builder
buckets(Bucket... buckets)
The list of buckets owned by the requester.ListDirectoryBucketsResponse.Builder
continuationToken(String continuationToken)
IfContinuationToken
was sent with the request, it is included in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.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
-
buckets
ListDirectoryBucketsResponse.Builder buckets(Collection<Bucket> buckets)
The list of buckets owned by the requester.
- Parameters:
buckets
- The list of buckets owned by the requester.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
ListDirectoryBucketsResponse.Builder buckets(Bucket... buckets)
The list of buckets owned by the requester.
- Parameters:
buckets
- The list of buckets owned by the requester.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
ListDirectoryBucketsResponse.Builder buckets(Consumer<Bucket.Builder>... buckets)
The list of buckets owned by the requester.
This is a convenience method that creates an instance of theBucket.Builder
avoiding the need to create one manually viaBucket.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#buckets(List
.) - Parameters:
buckets
- a consumer that will call methods onBucket.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#buckets(java.util.Collection
)
-
continuationToken
ListDirectoryBucketsResponse.Builder continuationToken(String continuationToken)
If
ContinuationToken
was sent with the request, it is included in the response. You can use the returnedContinuationToken
for pagination of the list response.- Parameters:
continuationToken
- IfContinuationToken
was sent with the request, it is included in the response. You can use the returnedContinuationToken
for pagination of the list response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-