Interface TelemetryRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TelemetryRule.Builder,
,TelemetryRule> SdkBuilder<TelemetryRule.Builder,
,TelemetryRule> SdkPojo
- Enclosing class:
TelemetryRule
-
Method Summary
Modifier and TypeMethodDescriptiondefault TelemetryRule.Builder
destinationConfiguration
(Consumer<TelemetryDestinationConfiguration.Builder> destinationConfiguration) Configuration specifying where and how the telemetry data should be delivered.destinationConfiguration
(TelemetryDestinationConfiguration destinationConfiguration) Configuration specifying where and how the telemetry data should be delivered.resourceType
(String resourceType) The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").resourceType
(ResourceType resourceType) The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").The organizational scope to which the rule applies, specified using accounts or organizational units.selectionCriteria
(String selectionCriteria) Criteria for selecting which resources the rule applies to, such as resource tags.telemetryType
(String telemetryType) The type of telemetry to collect (Logs, Metrics, or Traces).telemetryType
(TelemetryType telemetryType) The type of telemetry to collect (Logs, Metrics, or Traces).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceType
The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- Parameters:
resourceType
- The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").
- Parameters:
resourceType
- The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
telemetryType
The type of telemetry to collect (Logs, Metrics, or Traces).
- Parameters:
telemetryType
- The type of telemetry to collect (Logs, Metrics, or Traces).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
telemetryType
The type of telemetry to collect (Logs, Metrics, or Traces).
- Parameters:
telemetryType
- The type of telemetry to collect (Logs, Metrics, or Traces).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationConfiguration
TelemetryRule.Builder destinationConfiguration(TelemetryDestinationConfiguration destinationConfiguration) Configuration specifying where and how the telemetry data should be delivered.
- Parameters:
destinationConfiguration
- Configuration specifying where and how the telemetry data should be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfiguration
default TelemetryRule.Builder destinationConfiguration(Consumer<TelemetryDestinationConfiguration.Builder> destinationConfiguration) Configuration specifying where and how the telemetry data should be delivered.
This is a convenience method that creates an instance of theTelemetryDestinationConfiguration.Builder
avoiding the need to create one manually viaTelemetryDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationConfiguration(TelemetryDestinationConfiguration)
.- Parameters:
destinationConfiguration
- a consumer that will call methods onTelemetryDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
The organizational scope to which the rule applies, specified using accounts or organizational units.
- Parameters:
scope
- The organizational scope to which the rule applies, specified using accounts or organizational units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectionCriteria
Criteria for selecting which resources the rule applies to, such as resource tags.
- Parameters:
selectionCriteria
- Criteria for selecting which resources the rule applies to, such as resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-