Interface MonitoringConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MonitoringConfiguration.Builder,,MonitoringConfiguration> SdkBuilder<MonitoringConfiguration.Builder,,MonitoringConfiguration> SdkPojo
- Enclosing class:
MonitoringConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonitoringConfiguration.BuildercloudWatchLoggingConfiguration(Consumer<CloudWatchLoggingConfiguration.Builder> cloudWatchLoggingConfiguration) Configuration settings for delivering logs to Amazon CloudWatch log groups.cloudWatchLoggingConfiguration(CloudWatchLoggingConfiguration cloudWatchLoggingConfiguration) Configuration settings for delivering logs to Amazon CloudWatch log groups.default MonitoringConfiguration.BuildermanagedLoggingConfiguration(Consumer<ManagedLoggingConfiguration.Builder> managedLoggingConfiguration) Configuration settings for managed log persistence.managedLoggingConfiguration(ManagedLoggingConfiguration managedLoggingConfiguration) Configuration settings for managed log persistence.default MonitoringConfiguration.Builders3LoggingConfiguration(Consumer<S3LoggingConfiguration.Builder> s3LoggingConfiguration) Configuration settings for delivering logs to Amazon S3 buckets.s3LoggingConfiguration(S3LoggingConfiguration s3LoggingConfiguration) Configuration settings for delivering logs to Amazon S3 buckets.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
-
cloudWatchLoggingConfiguration
MonitoringConfiguration.Builder cloudWatchLoggingConfiguration(CloudWatchLoggingConfiguration cloudWatchLoggingConfiguration) Configuration settings for delivering logs to Amazon CloudWatch log groups.
- Parameters:
cloudWatchLoggingConfiguration- Configuration settings for delivering logs to Amazon CloudWatch log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingConfiguration
default MonitoringConfiguration.Builder cloudWatchLoggingConfiguration(Consumer<CloudWatchLoggingConfiguration.Builder> cloudWatchLoggingConfiguration) Configuration settings for delivering logs to Amazon CloudWatch log groups.
This is a convenience method that creates an instance of theCloudWatchLoggingConfiguration.Builderavoiding the need to create one manually viaCloudWatchLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLoggingConfiguration(CloudWatchLoggingConfiguration).- Parameters:
cloudWatchLoggingConfiguration- a consumer that will call methods onCloudWatchLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
managedLoggingConfiguration
MonitoringConfiguration.Builder managedLoggingConfiguration(ManagedLoggingConfiguration managedLoggingConfiguration) Configuration settings for managed log persistence.
- Parameters:
managedLoggingConfiguration- Configuration settings for managed log persistence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedLoggingConfiguration
default MonitoringConfiguration.Builder managedLoggingConfiguration(Consumer<ManagedLoggingConfiguration.Builder> managedLoggingConfiguration) Configuration settings for managed log persistence.
This is a convenience method that creates an instance of theManagedLoggingConfiguration.Builderavoiding the need to create one manually viaManagedLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedLoggingConfiguration(ManagedLoggingConfiguration).- Parameters:
managedLoggingConfiguration- a consumer that will call methods onManagedLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3LoggingConfiguration
MonitoringConfiguration.Builder s3LoggingConfiguration(S3LoggingConfiguration s3LoggingConfiguration) Configuration settings for delivering logs to Amazon S3 buckets.
- Parameters:
s3LoggingConfiguration- Configuration settings for delivering logs to Amazon S3 buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3LoggingConfiguration
default MonitoringConfiguration.Builder s3LoggingConfiguration(Consumer<S3LoggingConfiguration.Builder> s3LoggingConfiguration) Configuration settings for delivering logs to Amazon S3 buckets.
This is a convenience method that creates an instance of theS3LoggingConfiguration.Builderavoiding the need to create one manually viaS3LoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3LoggingConfiguration(S3LoggingConfiguration).- Parameters:
s3LoggingConfiguration- a consumer that will call methods onS3LoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-