public static interface UpdateServerResponse.Builder extends OpsWorksCMResponse.Builder, CopyableBuilder<UpdateServerResponse.Builder,UpdateServerResponse>
Modifier and Type | Method and Description |
---|---|
default UpdateServerResponse.Builder |
server(Consumer<Server.Builder> server)
Contains the response to a
UpdateServer request. |
UpdateServerResponse.Builder |
server(Server server)
Contains the response to a
UpdateServer request. |
build
copy
apply, build
UpdateServerResponse.Builder server(Server server)
Contains the response to a UpdateServer
request.
server
- Contains the response to a UpdateServer
request.default UpdateServerResponse.Builder server(Consumer<Server.Builder> server)
Contains the response to a UpdateServer
request.
Server.Builder
avoiding the need to create one
manually via Server.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to server(Server)
.server
- a consumer that will call methods on Server.Builder
server(Server)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.