Interface TelemetryRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TelemetryRule.Builder,,TelemetryRule> SdkBuilder<TelemetryRule.Builder,,TelemetryRule> SdkPojo
- Enclosing class:
TelemetryRule
-
Method Summary
Modifier and TypeMethodDescriptiondefault TelemetryRule.BuilderdestinationConfiguration(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", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").resourceType(ResourceType resourceType) The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").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.telemetrySourceTypes(Collection<TelemetrySourceType> telemetrySourceTypes) The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS.telemetrySourceTypes(TelemetrySourceType... telemetrySourceTypes) The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS.telemetrySourceTypesWithStrings(String... telemetrySourceTypes) The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS.telemetrySourceTypesWithStrings(Collection<String> telemetrySourceTypes) The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS.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
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
-
resourceType
The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").
- Parameters:
resourceType- The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").- 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", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").
- Parameters:
resourceType- The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").- 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:
-
telemetrySourceTypesWithStrings
The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.
- Parameters:
telemetrySourceTypes- The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetrySourceTypesWithStrings
The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.
- Parameters:
telemetrySourceTypes- The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetrySourceTypes
The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.
- Parameters:
telemetrySourceTypes- The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetrySourceTypes
The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.
- Parameters:
telemetrySourceTypes- The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. TelemetrySourceTypes must be correlated with the specific resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTelemetryDestinationConfiguration.builder().When the
Consumercompletes,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.
-