Interface CentralizationRuleDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CentralizationRuleDestination.Builder,,CentralizationRuleDestination> SdkBuilder<CentralizationRuleDestination.Builder,,CentralizationRuleDestination> SdkPojo
- Enclosing class:
CentralizationRuleDestination
@Mutable
@NotThreadSafe
public static interface CentralizationRuleDestination.Builder
extends SdkPojo, CopyableBuilder<CentralizationRuleDestination.Builder,CentralizationRuleDestination>
-
Method Summary
Modifier and TypeMethodDescriptionThe destination account (within the organization) to which the telemetry data should be centralized.destinationLogsConfiguration(Consumer<DestinationLogsConfiguration.Builder> destinationLogsConfiguration) Log specific configuration for centralization destination log groups.destinationLogsConfiguration(DestinationLogsConfiguration destinationLogsConfiguration) Log specific configuration for centralization destination log groups.The primary destination region to which telemetry data should be centralized.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
-
region
The primary destination region to which telemetry data should be centralized.
- Parameters:
region- The primary destination region to which telemetry data should be centralized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
The destination account (within the organization) to which the telemetry data should be centralized.
- Parameters:
account- The destination account (within the organization) to which the telemetry data should be centralized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLogsConfiguration
CentralizationRuleDestination.Builder destinationLogsConfiguration(DestinationLogsConfiguration destinationLogsConfiguration) Log specific configuration for centralization destination log groups.
- Parameters:
destinationLogsConfiguration- Log specific configuration for centralization destination log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLogsConfiguration
default CentralizationRuleDestination.Builder destinationLogsConfiguration(Consumer<DestinationLogsConfiguration.Builder> destinationLogsConfiguration) Log specific configuration for centralization destination log groups.
This is a convenience method that creates an instance of theDestinationLogsConfiguration.Builderavoiding the need to create one manually viaDestinationLogsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationLogsConfiguration(DestinationLogsConfiguration).- Parameters:
destinationLogsConfiguration- a consumer that will call methods onDestinationLogsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-