Interface ListConnectorDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConnectorDestinationsResponse.Builder,,ListConnectorDestinationsResponse> IotManagedIntegrationsResponse.Builder,SdkBuilder<ListConnectorDestinationsResponse.Builder,,ListConnectorDestinationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConnectorDestinationsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectorDestinationsResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<ListConnectorDestinationsResponse.Builder,ListConnectorDestinationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectorDestinationList(Collection<ConnectorDestinationSummary> connectorDestinationList) The list of connector destinations that match the specified criteria.connectorDestinationList(Consumer<ConnectorDestinationSummary.Builder>... connectorDestinationList) The list of connector destinations that match the specified criteria.connectorDestinationList(ConnectorDestinationSummary... connectorDestinationList) The list of connector destinations that match the specified criteria.A token used for pagination of results when there are more connector destinations than can be returned in a single response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
connectorDestinationList
ListConnectorDestinationsResponse.Builder connectorDestinationList(Collection<ConnectorDestinationSummary> connectorDestinationList) The list of connector destinations that match the specified criteria.
- Parameters:
connectorDestinationList- The list of connector destinations that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorDestinationList
ListConnectorDestinationsResponse.Builder connectorDestinationList(ConnectorDestinationSummary... connectorDestinationList) The list of connector destinations that match the specified criteria.
- Parameters:
connectorDestinationList- The list of connector destinations that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorDestinationList
ListConnectorDestinationsResponse.Builder connectorDestinationList(Consumer<ConnectorDestinationSummary.Builder>... connectorDestinationList) The list of connector destinations that match the specified criteria.
This is a convenience method that creates an instance of theConnectorDestinationSummary.Builderavoiding the need to create one manually viaConnectorDestinationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorDestinationList(List<ConnectorDestinationSummary>).- Parameters:
connectorDestinationList- a consumer that will call methods onConnectorDestinationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token used for pagination of results when there are more connector destinations than can be returned in a single response.
- Parameters:
nextToken- A token used for pagination of results when there are more connector destinations than can be returned in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-