Interface TelemetryManifest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TelemetryManifest.Builder,,TelemetryManifest> SdkBuilder<TelemetryManifest.Builder,,TelemetryManifest> SdkPojo
- Enclosing class:
TelemetryManifest
-
Method Summary
Modifier and TypeMethodDescriptiondefault TelemetryManifest.Builderinfrastructure(Consumer<TelemetryManifestInfrastructure.Builder> infrastructure) The choices for the infrastructure that the setup creates in your cloud provider, such as the subscription that contains the Event Hubs and their size.infrastructure(TelemetryManifestInfrastructure infrastructure) The choices for the infrastructure that the setup creates in your cloud provider, such as the subscription that contains the Event Hubs and their size.default TelemetryManifest.BuilderThe resources to collect telemetry from and the telemetry types to collect.source(TelemetryManifestSource source) The resources to collect telemetry from and 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
-
source
The resources to collect telemetry from and the telemetry types to collect.
- Parameters:
source- The resources to collect telemetry from and the telemetry types to collect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The resources to collect telemetry from and the telemetry types to collect.
This is a convenience method that creates an instance of theTelemetryManifestSource.Builderavoiding the need to create one manually viaTelemetryManifestSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(TelemetryManifestSource).- Parameters:
source- a consumer that will call methods onTelemetryManifestSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
infrastructure
The choices for the infrastructure that the setup creates in your cloud provider, such as the subscription that contains the Event Hubs and their size. If you omit this value, the setup uses default settings. If an
AzureScopeItemcollectsResourceLogs, you must specify at least the AzureSubscriptionId.- Parameters:
infrastructure- The choices for the infrastructure that the setup creates in your cloud provider, such as the subscription that contains the Event Hubs and their size. If you omit this value, the setup uses default settings. If anAzureScopeItemcollectsResourceLogs, you must specify at least the AzureSubscriptionId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructure
default TelemetryManifest.Builder infrastructure(Consumer<TelemetryManifestInfrastructure.Builder> infrastructure) The choices for the infrastructure that the setup creates in your cloud provider, such as the subscription that contains the Event Hubs and their size. If you omit this value, the setup uses default settings. If an
This is a convenience method that creates an instance of theAzureScopeItemcollectsResourceLogs, you must specify at least the AzureSubscriptionId.TelemetryManifestInfrastructure.Builderavoiding the need to create one manually viaTelemetryManifestInfrastructure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfrastructure(TelemetryManifestInfrastructure).- Parameters:
infrastructure- a consumer that will call methods onTelemetryManifestInfrastructure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-