public static interface StartMaintenanceResponse.Builder extends OpsWorksCmResponse.Builder, CopyableBuilder<StartMaintenanceResponse.Builder,StartMaintenanceResponse>
Modifier and Type | Method and Description |
---|---|
default StartMaintenanceResponse.Builder |
server(Consumer<Server.Builder> server)
Contains the response to a
StartMaintenance request. |
StartMaintenanceResponse.Builder |
server(Server server)
Contains the response to a
StartMaintenance request. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
StartMaintenanceResponse.Builder server(Server server)
Contains the response to a StartMaintenance
request.
server
- Contains the response to a StartMaintenance
request.default StartMaintenanceResponse.Builder server(Consumer<Server.Builder> server)
Contains the response to a StartMaintenance
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.