Interface DescribeServerResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<DescribeServerResponse.Builder,,- DescribeServerResponse> - SdkBuilder<DescribeServerResponse.Builder,,- DescribeServerResponse> - SdkPojo,- SdkResponse.Builder,- TransferResponse.Builder
- Enclosing class:
- DescribeServerResponse
@Mutable
@NotThreadSafe
public static interface DescribeServerResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeServerResponse.Builder,DescribeServerResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
serverAn array containing the properties of a server with the ServerIDyou specified.- Parameters:
- server- An array containing the properties of a server with the- ServerIDyou specified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serverAn 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 on- DescribedServer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-