Interface ListConnectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListConnectorsResponse.Builder,
,ListConnectorsResponse> SdkBuilder<ListConnectorsResponse.Builder,
,ListConnectorsResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
ListConnectorsResponse
public static interface ListConnectorsResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListConnectorsResponse.Builder,ListConnectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectors
(Collection<ListedConnector> connectors) Returns an array, where each item contains the details of a connector.connectors
(Consumer<ListedConnector.Builder>... connectors) Returns an array, where each item contains the details of a connector.connectors
(ListedConnector... connectors) Returns an array, where each item contains the details of a connector.Returns a token that you can use to callListConnectors
again and receive additional results, if there are any.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
-
nextToken
Returns a token that you can use to call
ListConnectors
again and receive additional results, if there are any.- Parameters:
nextToken
- Returns a token that you can use to callListConnectors
again and receive additional results, if there are any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
Returns an array, where each item contains the details of a connector.
- Parameters:
connectors
- Returns an array, where each item contains the details of a connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
Returns an array, where each item contains the details of a connector.
- Parameters:
connectors
- Returns an array, where each item contains the details of a connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
Returns an array, where each item contains the details of a connector.
This is a convenience method that creates an instance of theListedConnector.Builder
avoiding the need to create one manually viaListedConnector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectors(List<ListedConnector>)
.- Parameters:
connectors
- a consumer that will call methods onListedConnector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-