Interface AzureScopeItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AzureScopeItem.Builder,,AzureScopeItem> SdkBuilder<AzureScopeItem.Builder,,AzureScopeItem> SdkPojo
- Enclosing class:
AzureScopeItem
@Mutable
@NotThreadSafe
public static interface AzureScopeItem.Builder
extends SdkPojo, CopyableBuilder<AzureScopeItem.Builder,AzureScopeItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AzureScopeItem.Builderscope(Consumer<AzureScope.Builder> scope) The Azure resources to collect telemetry from.scope(AzureScope scope) The Azure resources to collect telemetry from.telemetryTypes(Collection<AzureTelemetryType> telemetryTypes) The telemetry types to collect.telemetryTypes(AzureTelemetryType... telemetryTypes) The telemetry types to collect.telemetryTypesWithStrings(String... telemetryTypes) The telemetry types to collect.telemetryTypesWithStrings(Collection<String> telemetryTypes) The telemetry types to collect.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
-
telemetryTypesWithStrings
The telemetry types to collect.
- Parameters:
telemetryTypes- The telemetry types to collect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryTypesWithStrings
The telemetry types to collect.
- Parameters:
telemetryTypes- The telemetry types to collect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryTypes
The telemetry types to collect.
- Parameters:
telemetryTypes- The telemetry types to collect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetryTypes
The telemetry types to collect.
- Parameters:
telemetryTypes- The telemetry types to collect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The Azure resources to collect telemetry from.
- Parameters:
scope- The Azure resources to collect telemetry from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The Azure resources to collect telemetry from.
This is a convenience method that creates an instance of theAzureScope.Builderavoiding the need to create one manually viaAzureScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscope(AzureScope).- Parameters:
scope- a consumer that will call methods onAzureScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-