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. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildStartMaintenanceResponse.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.Builderserver(Server)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.