public static interface DescribeServerResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeServerResponse.Builder,DescribeServerResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeServerResponse.Builder |
server(Consumer<DescribedServer.Builder> server)
An array containing the properties of the server with the
ServerID you specified. |
DescribeServerResponse.Builder |
server(DescribedServer server)
An array containing the properties of the server with the
ServerID you specified. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeServerResponse.Builder server(DescribedServer server)
An array containing the properties of the server with the ServerID
you specified.
server
- An array containing the properties of the server with the ServerID
you specified.default DescribeServerResponse.Builder server(Consumer<DescribedServer.Builder> server)
An array containing the properties of the server with the ServerID
you specified.
DescribedServer.Builder
avoiding the need to
create one manually via DescribedServer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to server(DescribedServer)
.server
- a consumer that will call methods on DescribedServer.Builder
server(DescribedServer)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.