Interface MonitoringConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MonitoringConfiguration.Builder,,MonitoringConfiguration> SdkBuilder<MonitoringConfiguration.Builder,,MonitoringConfiguration> SdkPojo
- Enclosing class:
MonitoringConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonitoringConfiguration.BuildercloudWatchLogConfiguration(Consumer<CloudWatchLogConfiguration.Builder> cloudWatchLogConfiguration) CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.cloudWatchLogConfiguration(CloudWatchLogConfiguration cloudWatchLogConfiguration) CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.default MonitoringConfiguration.Builders3LoggingConfiguration(Consumer<S3LoggingConfiguration.Builder> s3LoggingConfiguration) S3 logging configuration that controls how different types of logs (system logs, application logs, and persistent UI logs) are uploaded to S3.s3LoggingConfiguration(S3LoggingConfiguration s3LoggingConfiguration) S3 logging configuration that controls how different types of logs (system logs, application logs, and persistent UI logs) are uploaded to S3.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
-
cloudWatchLogConfiguration
MonitoringConfiguration.Builder cloudWatchLogConfiguration(CloudWatchLogConfiguration cloudWatchLogConfiguration) CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.
- Parameters:
cloudWatchLogConfiguration- CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogConfiguration
default MonitoringConfiguration.Builder cloudWatchLogConfiguration(Consumer<CloudWatchLogConfiguration.Builder> cloudWatchLogConfiguration) CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.
This is a convenience method that creates an instance of theCloudWatchLogConfiguration.Builderavoiding the need to create one manually viaCloudWatchLogConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogConfiguration(CloudWatchLogConfiguration).- Parameters:
cloudWatchLogConfiguration- a consumer that will call methods onCloudWatchLogConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3LoggingConfiguration
MonitoringConfiguration.Builder s3LoggingConfiguration(S3LoggingConfiguration s3LoggingConfiguration) S3 logging configuration that controls how different types of logs (system logs, application logs, and persistent UI logs) are uploaded to S3. Each log type can be configured with a specific upload policy.
- Parameters:
s3LoggingConfiguration- S3 logging configuration that controls how different types of logs (system logs, application logs, and persistent UI logs) are uploaded to S3. Each log type can be configured with a specific upload policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3LoggingConfiguration
default MonitoringConfiguration.Builder s3LoggingConfiguration(Consumer<S3LoggingConfiguration.Builder> s3LoggingConfiguration) S3 logging configuration that controls how different types of logs (system logs, application logs, and persistent UI logs) are uploaded to S3. Each log type can be configured with a specific upload policy.
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:
-