Interface AzureResourceIdsQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AzureResourceIdsQuery.Builder,,AzureResourceIdsQuery> SdkBuilder<AzureResourceIdsQuery.Builder,,AzureResourceIdsQuery> SdkPojo
- Enclosing class:
AzureResourceIdsQuery
-
Method Summary
Modifier and TypeMethodDescriptionLimits the results to one Azure Region, for exampleeastus.resourceType(String resourceType) Limits the results to one Azure resource type, for exampleMicrosoft.Compute/virtualMachines.default AzureResourceIdsQuery.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.tagFilters(Collection<TagFilter> tagFilters) Limits the results to resources that have these tags.tagFilters(Consumer<TagFilter.Builder>... tagFilters) Limits the results to resources that have these tags.tagFilters(TagFilter... tagFilters) Limits the results to resources that have these tags.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:
-
resourceType
Limits the results to one Azure resource type, for example
Microsoft.Compute/virtualMachines.- Parameters:
resourceType- Limits the results to one Azure resource type, for exampleMicrosoft.Compute/virtualMachines.- 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.
-
tagFilters
Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.
- Parameters:
tagFilters- Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.
- Parameters:
tagFilters- Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Limits the results to resources that have these tags. A resource must match the filters for all tag keys, and any of the values for each key. The service matches tag keys and values case-insensitively, as Azure does.
This is a convenience method that creates an instance of theTagFilter.Builderavoiding the need to create one manually viaTagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagFilters(List<TagFilter>).- Parameters:
tagFilters- a consumer that will call methods onTagFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-