Interface AzureEventHubsQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AzureEventHubsQuery.Builder,,AzureEventHubsQuery> SdkBuilder<AzureEventHubsQuery.Builder,,AzureEventHubsQuery> SdkPojo
- Enclosing class:
AzureEventHubsQuery
@Mutable
@NotThreadSafe
public static interface AzureEventHubsQuery.Builder
extends SdkPojo, CopyableBuilder<AzureEventHubsQuery.Builder,AzureEventHubsQuery>
-
Method Summary
Modifier and TypeMethodDescriptionnamespaceName(String namespaceName) Limits the results to Event Hubs in this namespace.Limits the results to one Azure Region, for exampleeastus.default AzureEventHubsQuery.Builderscope(Consumer<AzureQueryScope.Builder> scope) Limits the query to a management group or to specific subscriptions.scope(AzureQueryScope scope) Limits the query to a management group or to specific subscriptions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scope
Limits the query to a management group or to specific subscriptions.
- Parameters:
scope- Limits the query to a management group or to specific subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Limits the query to a management group or to specific subscriptions.
This is a convenience method that creates an instance of theAzureQueryScope.Builderavoiding the need to create one manually viaAzureQueryScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscope(AzureQueryScope).- Parameters:
scope- a consumer that will call methods onAzureQueryScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespaceName
Limits the results to Event Hubs in this namespace.
- Parameters:
namespaceName- Limits the results to Event Hubs in this namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
Limits the results to one Azure Region, for example
eastus.- Parameters:
region- Limits the results to one Azure Region, for exampleeastus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-