Class LoggingOptions.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.LoggingOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingOptions>
- Enclosing interface:
LoggingOptions
@Stability(Stable)
public static final class LoggingOptions.Builder
extends Object
implements software.amazon.jsii.Builder<LoggingOptions>
A builder for
LoggingOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatch
(CloudWatchLoggingOptions cloudWatch) Sets the value ofLoggingOptions.getCloudWatch()
s3
(S3LoggingOptions s3) Sets the value ofLoggingOptions.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatch
Sets the value ofLoggingOptions.getCloudWatch()
- Parameters:
cloudWatch
- Information about Amazon CloudWatch Logs for a build project.- Returns:
this
-
s3
Sets the value ofLoggingOptions.getS3()
- Parameters:
s3
- Information about logs built to an S3 bucket for a build project.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LoggingOptions>
- Returns:
- a new instance of
LoggingOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-