Interface DescribeConnectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeConnectorResponse.Builder,
,DescribeConnectorResponse> SdkBuilder<DescribeConnectorResponse.Builder,
,DescribeConnectorResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
DescribeConnectorResponse
@Mutable
@NotThreadSafe
public static interface DescribeConnectorResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectorResponse.Builder,DescribeConnectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnector
(Consumer<DescribedConnector.Builder> connector) The structure that contains the details of the connector.connector
(DescribedConnector connector) The structure that contains the details of the connector.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, sdkFieldNameToField, 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
-
connector
The structure that contains the details of the connector.
- Parameters:
connector
- The structure that contains the details of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connector
The structure that contains the details of the connector.
This is a convenience method that creates an instance of theDescribedConnector.Builder
avoiding the need to create one manually viaDescribedConnector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnector(DescribedConnector)
.- Parameters:
connector
- a consumer that will call methods onDescribedConnector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-