Interface ListResourcesByConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListResourcesByConnectorRequest.Builder,,ListResourcesByConnectorRequest> ObservabilityAdminRequest.Builder,SdkBuilder<ListResourcesByConnectorRequest.Builder,,ListResourcesByConnectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListResourcesByConnectorRequest
@Mutable
@NotThreadSafe
public static interface ListResourcesByConnectorRequest.Builder
extends ObservabilityAdminRequest.Builder, SdkPojo, CopyableBuilder<ListResourcesByConnectorRequest.Builder,ListResourcesByConnectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectorIdentifier(String connectorIdentifier) The connector to use for the query.maxResults(Integer maxResults) The maximum number of results to return in one call.The token for the next page of results, returned by a previous call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.selector(Consumer<ConnectorQuery.Builder> selector) What to list: one cloud provider, and one type of resource in that provider.selector(ConnectorQuery selector) What to list: one cloud provider, and one type of resource in that provider.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.observabilityadmin.model.ObservabilityAdminRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectorIdentifier
The connector to use for the query. Specify one of the following:
-
The Amazon Resource Name (ARN) of the connector
-
The ID of the connector
- Parameters:
connectorIdentifier- The connector to use for the query. Specify one of the following:-
The Amazon Resource Name (ARN) of the connector
-
The ID of the connector
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
selector
What to list: one cloud provider, and one type of resource in that provider.
- Parameters:
selector- What to list: one cloud provider, and one type of resource in that provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selector
What to list: one cloud provider, and one type of resource in that provider.
This is a convenience method that creates an instance of theConnectorQuery.Builderavoiding the need to create one manually viaConnectorQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselector(ConnectorQuery).- Parameters:
selector- a consumer that will call methods onConnectorQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return in one call. For an
EventHubsquery, a page can contain more results than this value.- Parameters:
maxResults- The maximum number of results to return in one call. For anEventHubsquery, a page can contain more results than this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next page of results, returned by a previous call.
- Parameters:
nextToken- The token for the next page of results, returned by a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListResourcesByConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListResourcesByConnectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-