Class CfnProject.DataDeliveryObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evidently.CfnProject.DataDeliveryObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject.DataDeliveryObjectProperty>
- Enclosing interface:
CfnProject.DataDeliveryObjectProperty
@Stability(Stable)
public static final class CfnProject.DataDeliveryObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProject.DataDeliveryObjectProperty>
A builder for
CfnProject.DataDeliveryObjectProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnProject.DataDeliveryObjectProperty.getLogGroup()
s3
(IResolvable s3) Sets the value ofCfnProject.DataDeliveryObjectProperty.getS3()
Sets the value ofCfnProject.DataDeliveryObjectProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroup
Sets the value ofCfnProject.DataDeliveryObjectProperty.getLogGroup()
- Parameters:
logGroup
- If the project stores evaluation events in CloudWatch Logs , this structure stores the log group name.- Returns:
this
-
s3
Sets the value ofCfnProject.DataDeliveryObjectProperty.getS3()
- Parameters:
s3
- If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.- Returns:
this
-
s3
@Stability(Stable) public CfnProject.DataDeliveryObjectProperty.Builder s3(CfnProject.S3DestinationProperty s3) Sets the value ofCfnProject.DataDeliveryObjectProperty.getS3()
- Parameters:
s3
- If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject.DataDeliveryObjectProperty>
- Returns:
- a new instance of
CfnProject.DataDeliveryObjectProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-