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.Builderserver(Consumer<DescribedServer.Builder> server) An array containing the properties of a server with theServerIDyou specified.server(DescribedServer server) An array containing the properties of a server with theServerIDyou specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
ServerIDyou specified.- Parameters:
 server- An array containing the properties of a server with theServerIDyou 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 theServerIDyou specified.DescribedServer.Builderavoiding the need to create one manually viaDescribedServer.builder().When the
Consumercompletes,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:
 
 
 -