Interface ListResourcesByConnectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourcesByConnectorResponse.Builder,,ListResourcesByConnectorResponse> ObservabilityAdminResponse.Builder,SdkBuilder<ListResourcesByConnectorResponse.Builder,,ListResourcesByConnectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListResourcesByConnectorResponse
@Mutable
@NotThreadSafe
public static interface ListResourcesByConnectorResponse.Builder
extends ObservabilityAdminResponse.Builder, SdkPojo, CopyableBuilder<ListResourcesByConnectorResponse.Builder,ListResourcesByConnectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use in the next call to get the next page of results.results(Consumer<ConnectorQueryResults.Builder> results) The results, in the same shape as theSelectorthat you specified.results(ConnectorQueryResults results) The results, in the same shape as theSelectorthat you specified.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
-
results
The results, in the same shape as the
Selectorthat you specified.- Parameters:
results- The results, in the same shape as theSelectorthat you specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
default ListResourcesByConnectorResponse.Builder results(Consumer<ConnectorQueryResults.Builder> results) The results, in the same shape as the
This is a convenience method that creates an instance of theSelectorthat you specified.ConnectorQueryResults.Builderavoiding the need to create one manually viaConnectorQueryResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(ConnectorQueryResults).- Parameters:
results- a consumer that will call methods onConnectorQueryResults.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.
-