public static interface CreateBucketResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateBucketResponse.Builder,CreateBucketResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateBucketResponse.Builder |
bucket(Bucket bucket)
An object that describes the bucket that is created.
|
default CreateBucketResponse.Builder |
bucket(Consumer<Bucket.Builder> bucket)
An object that describes the bucket that is created.
|
CreateBucketResponse.Builder |
operations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateBucketResponse.Builder |
operations(Consumer<Operation.Builder>... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateBucketResponse.Builder |
operations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateBucketResponse.Builder bucket(Bucket bucket)
An object that describes the bucket that is created.
bucket - An object that describes the bucket that is created.default CreateBucketResponse.Builder bucket(Consumer<Bucket.Builder> bucket)
An object that describes the bucket that is created.
This is a convenience method that creates an instance of theBucket.Builder avoiding the need to
create one manually via Bucket.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to bucket(Bucket).
bucket - a consumer that will call methods on Bucket.Builderbucket(Bucket)CreateBucketResponse.Builder operations(Collection<Operation> operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations - An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.CreateBucketResponse.Builder operations(Operation... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operations - An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.CreateBucketResponse.Builder operations(Consumer<Operation.Builder>... operations)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
This is a convenience method that creates an instance of theOperation.Builder avoiding the need to create one
manually via Operation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #operations(List.
operations - a consumer that will call methods on
Operation.Builder#operations(java.util.Collection) Copyright © 2023. All rights reserved.