Interface DescribeServerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeServerResponse.Builder,
,DescribeServerResponse> SdkBuilder<DescribeServerResponse.Builder,
,DescribeServerResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
DescribeServerResponse
public static interface DescribeServerResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeServerResponse.Builder,DescribeServerResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeServerResponse.Builder
server
(Consumer<DescribedServer.Builder> server) An array containing the properties of a server with theServerID
you specified.server
(DescribedServer server) An array containing the properties of a server with theServerID
you specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
server
An array containing the properties of a server with the
ServerID
you specified.- Parameters:
server
- An array containing the properties of a server with theServerID
you specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
server
An array containing the properties of a server with the
This is a convenience method that creates an instance of theServerID
you specified.DescribedServer.Builder
avoiding the need to create one manually viaDescribedServer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserver(DescribedServer)
.- Parameters:
server
- a consumer that will call methods onDescribedServer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-