Interface CentralizationRuleSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CentralizationRuleSource.Builder,,CentralizationRuleSource> SdkBuilder<CentralizationRuleSource.Builder,,CentralizationRuleSource> SdkPojo
- Enclosing class:
CentralizationRuleSource
@Mutable
@NotThreadSafe
public static interface CentralizationRuleSource.Builder
extends SdkPojo, CopyableBuilder<CentralizationRuleSource.Builder,CentralizationRuleSource>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of source regions from which telemetry data should be centralized.regions(Collection<String> regions) The list of source regions from which telemetry data should be centralized.The organizational scope from which telemetry data should be centralized, specified using organization id, accounts or organizational unit ids.default CentralizationRuleSource.BuildersourceLogsConfiguration(Consumer<SourceLogsConfiguration.Builder> sourceLogsConfiguration) Log specific configuration for centralization source log groups.sourceLogsConfiguration(SourceLogsConfiguration sourceLogsConfiguration) Log specific configuration for centralization source log groups.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
-
regions
The list of source regions from which telemetry data should be centralized.
- Parameters:
regions- The list of source regions from which telemetry data should be centralized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The list of source regions from which telemetry data should be centralized.
- Parameters:
regions- The list of source regions from which telemetry data should be centralized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The organizational scope from which telemetry data should be centralized, specified using organization id, accounts or organizational unit ids.
- Parameters:
scope- The organizational scope from which telemetry data should be centralized, specified using organization id, accounts or organizational unit ids.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLogsConfiguration
CentralizationRuleSource.Builder sourceLogsConfiguration(SourceLogsConfiguration sourceLogsConfiguration) Log specific configuration for centralization source log groups.
- Parameters:
sourceLogsConfiguration- Log specific configuration for centralization source log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLogsConfiguration
default CentralizationRuleSource.Builder sourceLogsConfiguration(Consumer<SourceLogsConfiguration.Builder> sourceLogsConfiguration) Log specific configuration for centralization source log groups.
This is a convenience method that creates an instance of theSourceLogsConfiguration.Builderavoiding the need to create one manually viaSourceLogsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceLogsConfiguration(SourceLogsConfiguration).- Parameters:
sourceLogsConfiguration- a consumer that will call methods onSourceLogsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-