Class Monitoring.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.Monitoring.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Monitoring>
- Enclosing interface:
- Monitoring
@Stability(Stable)
public static final class Monitoring.Builder
extends Object
implements software.amazon.jsii.Builder<Monitoring>
A builder for
Monitoring-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofMonitoring.getLogBucket()Sets the value ofMonitoring.getLogging()Sets the value ofMonitoring.getLogGroup()logStreamNamePrefix(String logStreamNamePrefix) Sets the value ofMonitoring.getLogStreamNamePrefix()persistentAppUi(Boolean persistentAppUi) Sets the value ofMonitoring#getPersistentAppUi
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logBucket
Sets the value ofMonitoring.getLogBucket()- Parameters:
logBucket- Amazon S3 Bucket for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.- Returns:
this
-
logging
Sets the value ofMonitoring.getLogging()- Parameters:
logging- Enable logging for this job. If set to true, will automatically create a Cloudwatch Log Group and S3 bucket. This will be set totrueimplicitly if values are provided forlogGrouporlogBucket.- Returns:
this
-
logGroup
Sets the value ofMonitoring.getLogGroup()- Parameters:
logGroup- A log group for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs.- Returns:
this
-
logStreamNamePrefix
Sets the value ofMonitoring.getLogStreamNamePrefix()- Parameters:
logStreamNamePrefix- A log stream name prefix for Cloudwatch monitoring.- Returns:
this
-
persistentAppUi
Sets the value ofMonitoring#getPersistentAppUi- Parameters:
persistentAppUi- Monitoring configurations for the persistent application UI.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Monitoring>- Returns:
- a new instance of
Monitoring - Throws:
NullPointerException- if any required attribute was not provided
-