Interface CentralizationRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CentralizationRule.Builder,
,CentralizationRule> SdkBuilder<CentralizationRule.Builder,
,CentralizationRule> SdkPojo
- Enclosing class:
CentralizationRule
-
Method Summary
Modifier and TypeMethodDescriptiondefault CentralizationRule.Builder
destination
(Consumer<CentralizationRuleDestination.Builder> destination) Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.destination
(CentralizationRuleDestination destination) Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.default CentralizationRule.Builder
Configuration determining the source of the telemetry data to be centralized.source
(CentralizationRuleSource source) Configuration determining the source of the telemetry data to be centralized.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
-
source
Configuration determining the source of the telemetry data to be centralized.
- Parameters:
source
- Configuration determining the source of the telemetry data to be centralized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Configuration determining the source of the telemetry data to be centralized.
This is a convenience method that creates an instance of theCentralizationRuleSource.Builder
avoiding the need to create one manually viaCentralizationRuleSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(CentralizationRuleSource)
.- Parameters:
source
- a consumer that will call methods onCentralizationRuleSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.
- Parameters:
destination
- Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default CentralizationRule.Builder destination(Consumer<CentralizationRuleDestination.Builder> destination) Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.
This is a convenience method that creates an instance of theCentralizationRuleDestination.Builder
avoiding the need to create one manually viaCentralizationRuleDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(CentralizationRuleDestination)
.- Parameters:
destination
- a consumer that will call methods onCentralizationRuleDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-