public static interface CreateDistributionResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateDistributionResponse.Builder,CreateDistributionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateDistributionResponse.Builder |
distribution(Consumer<LightsailDistribution.Builder> distribution)
An object that describes the distribution created.
|
CreateDistributionResponse.Builder |
distribution(LightsailDistribution distribution)
An object that describes the distribution created.
|
default CreateDistributionResponse.Builder |
operation(Consumer<Operation.Builder> operation)
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.
|
CreateDistributionResponse.Builder |
operation(Operation operation)
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, buildCreateDistributionResponse.Builder distribution(LightsailDistribution distribution)
An object that describes the distribution created.
distribution - An object that describes the distribution created.default CreateDistributionResponse.Builder distribution(Consumer<LightsailDistribution.Builder> distribution)
An object that describes the distribution created.
This is a convenience that creates an instance of theLightsailDistribution.Builder avoiding the need
to create one manually via LightsailDistribution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to distribution(LightsailDistribution).distribution - a consumer that will call methods on LightsailDistribution.Builderdistribution(LightsailDistribution)CreateDistributionResponse.Builder operation(Operation operation)
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.
operation - 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.default CreateDistributionResponse.Builder operation(Consumer<Operation.Builder> operation)
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 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 operation(Operation).operation - a consumer that will call methods on Operation.Builderoperation(Operation)Copyright © 2021. All rights reserved.