public static interface CreateDiskResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<CreateDiskResponse.Builder,CreateDiskResponse>
Modifier and Type | Method and Description |
---|---|
CreateDiskResponse.Builder |
operations(Collection<Operation> operations)
An object describing the API operations.
|
CreateDiskResponse.Builder |
operations(Consumer<Operation.Builder>... operations)
An object describing the API operations.
|
CreateDiskResponse.Builder |
operations(Operation... operations)
An object describing the API operations.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateDiskResponse.Builder operations(Collection<Operation> operations)
An object describing the API operations.
operations
- An object describing the API operations.CreateDiskResponse.Builder operations(Operation... operations)
An object describing the API operations.
operations
- An object describing the API operations.CreateDiskResponse.Builder operations(Consumer<Operation.Builder>... operations)
An object describing the API operations.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #operations(List)
.operations
- a consumer that will call methods on List.Builder
#operations(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.