Interface AzureScope.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AzureScope.Builder,,AzureScope> SdkBuilder<AzureScope.Builder,,AzureScope> SdkPojo
- Enclosing class:
AzureScope
-
Method Summary
Modifier and TypeMethodDescriptionThe Azure Regions to find resources in.regions(Collection<String> regions) The Azure Regions to find resources in.resources(Collection<AzureResourceIdScope> resources) Specific Azure resources, listed by Azure Region.resources(Consumer<AzureResourceIdScope.Builder>... resources) Specific Azure resources, listed by Azure Region.resources(AzureResourceIdScope... resources) Specific Azure resources, listed by Azure Region.resourceTypes(String... resourceTypes) The Azure resource types to find.resourceTypes(Collection<String> resourceTypes) The Azure resource types to find.default AzureScope.Buildersubscriptions(Consumer<AzureSubscriptionScope.Builder> subscriptions) The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions.subscriptions(AzureSubscriptionScope subscriptions) The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions.tagFilters(Collection<TagFilter> tagFilters) Limits the resources found bySubscriptions,Regions, andResourceTypesto those that have these tags.tagFilters(Consumer<TagFilter.Builder>... tagFilters) Limits the resources found bySubscriptions,Regions, andResourceTypesto those that have these tags.tagFilters(TagFilter... tagFilters) Limits the resources found bySubscriptions,Regions, andResourceTypesto those 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
-
subscriptions
The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Required when you use
RegionsandResourceTypes.- Parameters:
subscriptions- The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Required when you useRegionsandResourceTypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
The subscriptions to find resources in: all subscriptions that the connector can read, or a list of subscriptions. Required when you use
This is a convenience method that creates an instance of theRegionsandResourceTypes.AzureSubscriptionScope.Builderavoiding the need to create one manually viaAzureSubscriptionScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptions(AzureSubscriptionScope).- Parameters:
subscriptions- a consumer that will call methods onAzureSubscriptionScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regions
The Azure Regions to find resources in. Required when you use
SubscriptionsandResourceTypes.- Parameters:
regions- The Azure Regions to find resources in. Required when you useSubscriptionsandResourceTypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The Azure Regions to find resources in. Required when you use
SubscriptionsandResourceTypes.- Parameters:
regions- The Azure Regions to find resources in. Required when you useSubscriptionsandResourceTypes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The Azure resource types to find. Required when you use
SubscriptionsandRegions.- Parameters:
resourceTypes- The Azure resource types to find. Required when you useSubscriptionsandRegions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The Azure resource types to find. Required when you use
SubscriptionsandRegions.- Parameters:
resourceTypes- The Azure resource types to find. Required when you useSubscriptionsandRegions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Limits the resources found by
Subscriptions,Regions, andResourceTypesto those that have these tags. You can specify up to 50 filters.- Parameters:
tagFilters- Limits the resources found bySubscriptions,Regions, andResourceTypesto those that have these tags. You can specify up to 50 filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Limits the resources found by
Subscriptions,Regions, andResourceTypesto those that have these tags. You can specify up to 50 filters.- Parameters:
tagFilters- Limits the resources found bySubscriptions,Regions, andResourceTypesto those that have these tags. You can specify up to 50 filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilters
Limits the resources found by
This is a convenience method that creates an instance of theSubscriptions,Regions, andResourceTypesto those that have these tags. You can specify up to 50 filters.TagFilter.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:
-
resources
Specific Azure resources, listed by Azure Region.
- Parameters:
resources- Specific Azure resources, listed by Azure Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Specific Azure resources, listed by Azure Region.
- Parameters:
resources- Specific Azure resources, listed by Azure Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Specific Azure resources, listed by Azure Region.
This is a convenience method that creates an instance of theAzureResourceIdScope.Builderavoiding the need to create one manually viaAzureResourceIdScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<AzureResourceIdScope>).- Parameters:
resources- a consumer that will call methods onAzureResourceIdScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-