Interface ListConnectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConnectorsResponse.Builder,,ListConnectorsResponse> ObservabilityAdminResponse.Builder,SdkBuilder<ListConnectorsResponse.Builder,,ListConnectorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConnectorsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectorsResponse.Builder
extends ObservabilityAdminResponse.Builder, SdkPojo, CopyableBuilder<ListConnectorsResponse.Builder,ListConnectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectorSummaries(Collection<ConnectorSummary> connectorSummaries) The connectors in the account and Region.connectorSummaries(Consumer<ConnectorSummary.Builder>... connectorSummaries) The connectors in the account and Region.connectorSummaries(ConnectorSummary... connectorSummaries) The connectors in the account and Region.The token to use in the next call to get the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminResponse.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
-
connectorSummaries
The connectors in the account and Region.
- Parameters:
connectorSummaries- The connectors in the account and Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorSummaries
The connectors in the account and Region.
- Parameters:
connectorSummaries- The connectors in the account and Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorSummaries
ListConnectorsResponse.Builder connectorSummaries(Consumer<ConnectorSummary.Builder>... connectorSummaries) The connectors in the account and Region.
This is a convenience method that creates an instance of theConnectorSummary.Builderavoiding the need to create one manually viaConnectorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorSummaries(List<ConnectorSummary>).- Parameters:
connectorSummaries- a consumer that will call methods onConnectorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in the next call to get the next page of results. Absent when there are no more results.
- Parameters:
nextToken- The token to use in the next call to get the next page of results. Absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-