Interface ProjectDataDelivery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProjectDataDelivery.Builder,
,ProjectDataDelivery> SdkBuilder<ProjectDataDelivery.Builder,
,ProjectDataDelivery> SdkPojo
- Enclosing class:
ProjectDataDelivery
public static interface ProjectDataDelivery.Builder
extends SdkPojo, CopyableBuilder<ProjectDataDelivery.Builder,ProjectDataDelivery>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProjectDataDelivery.Builder
cloudWatchLogs
(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogs) If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.cloudWatchLogs
(CloudWatchLogsDestination cloudWatchLogs) If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.default ProjectDataDelivery.Builder
s3Destination
(Consumer<S3Destination.Builder> s3Destination) If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.s3Destination
(S3Destination s3Destination) If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cloudWatchLogs
If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.
- Parameters:
cloudWatchLogs
- If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
default ProjectDataDelivery.Builder cloudWatchLogs(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogs) If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.
This is a convenience method that creates an instance of theCloudWatchLogsDestination.Builder
avoiding the need to create one manually viaCloudWatchLogsDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogsDestination)
.- Parameters:
cloudWatchLogs
- a consumer that will call methods onCloudWatchLogsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Destination
If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
- Parameters:
s3Destination
- If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
This is a convenience method that creates an instance of theS3Destination.Builder
avoiding the need to create one manually viaS3Destination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Destination(S3Destination)
.- Parameters:
s3Destination
- a consumer that will call methods onS3Destination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-