Interface DestinationLogsConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DestinationLogsConfiguration.Builder,
,DestinationLogsConfiguration> SdkBuilder<DestinationLogsConfiguration.Builder,
,DestinationLogsConfiguration> SdkPojo
- Enclosing class:
DestinationLogsConfiguration
@Mutable
@NotThreadSafe
public static interface DestinationLogsConfiguration.Builder
extends SdkPojo, CopyableBuilder<DestinationLogsConfiguration.Builder,DestinationLogsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbackupConfiguration
(Consumer<LogsBackupConfiguration.Builder> backupConfiguration) Configuration defining the backup region and an optional KMS key for the backup destination.backupConfiguration
(LogsBackupConfiguration backupConfiguration) Configuration defining the backup region and an optional KMS key for the backup destination.logsEncryptionConfiguration
(Consumer<LogsEncryptionConfiguration.Builder> logsEncryptionConfiguration) The encryption configuration for centralization destination log groups.logsEncryptionConfiguration
(LogsEncryptionConfiguration logsEncryptionConfiguration) The encryption configuration for centralization destination log groups.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
-
logsEncryptionConfiguration
DestinationLogsConfiguration.Builder logsEncryptionConfiguration(LogsEncryptionConfiguration logsEncryptionConfiguration) The encryption configuration for centralization destination log groups.
- Parameters:
logsEncryptionConfiguration
- The encryption configuration for centralization destination log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsEncryptionConfiguration
default DestinationLogsConfiguration.Builder logsEncryptionConfiguration(Consumer<LogsEncryptionConfiguration.Builder> logsEncryptionConfiguration) The encryption configuration for centralization destination log groups.
This is a convenience method that creates an instance of theLogsEncryptionConfiguration.Builder
avoiding the need to create one manually viaLogsEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologsEncryptionConfiguration(LogsEncryptionConfiguration)
.- Parameters:
logsEncryptionConfiguration
- a consumer that will call methods onLogsEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backupConfiguration
DestinationLogsConfiguration.Builder backupConfiguration(LogsBackupConfiguration backupConfiguration) Configuration defining the backup region and an optional KMS key for the backup destination.
- Parameters:
backupConfiguration
- Configuration defining the backup region and an optional KMS key for the backup destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupConfiguration
default DestinationLogsConfiguration.Builder backupConfiguration(Consumer<LogsBackupConfiguration.Builder> backupConfiguration) Configuration defining the backup region and an optional KMS key for the backup destination.
This is a convenience method that creates an instance of theLogsBackupConfiguration.Builder
avoiding the need to create one manually viaLogsBackupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackupConfiguration(LogsBackupConfiguration)
.- Parameters:
backupConfiguration
- a consumer that will call methods onLogsBackupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-