Interface AzureRegionsQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AzureRegionsQuery.Builder,,AzureRegionsQuery> SdkBuilder<AzureRegionsQuery.Builder,,AzureRegionsQuery> SdkPojo
- Enclosing class:
AzureRegionsQuery
@Mutable
@NotThreadSafe
public static interface AzureRegionsQuery.Builder
extends SdkPojo, CopyableBuilder<AzureRegionsQuery.Builder,AzureRegionsQuery>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AzureRegionsQuery.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:
-