Interface LogsLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogsLocation.Builder,LogsLocation>,SdkBuilder<LogsLocation.Builder,LogsLocation>,SdkPojo
- Enclosing class:
- LogsLocation
public static interface LogsLocation.Builder extends SdkPojo, CopyableBuilder<LogsLocation.Builder,LogsLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LogsLocation.BuildercloudWatchLogs(Consumer<CloudWatchLogsConfig.Builder> cloudWatchLogs)Information about CloudWatch Logs for a build project.LogsLocation.BuildercloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs)Information about CloudWatch Logs for a build project.LogsLocation.BuildercloudWatchLogsArn(String cloudWatchLogsArn)The ARN of the CloudWatch Logs stream for a build execution.LogsLocation.BuilderdeepLink(String deepLink)The URL to an individual build log in CloudWatch Logs.LogsLocation.BuildergroupName(String groupName)The name of the CloudWatch Logs group for the build logs.LogsLocation.Builders3DeepLink(String s3DeepLink)The URL to a build log in an S3 bucket.default LogsLocation.Builders3Logs(Consumer<S3LogsConfig.Builder> s3Logs)Information about S3 logs for a build project.LogsLocation.Builders3Logs(S3LogsConfig s3Logs)Information about S3 logs for a build project.LogsLocation.Builders3LogsArn(String s3LogsArn)The ARN of S3 logs for a build project.LogsLocation.BuilderstreamName(String streamName)The name of the CloudWatch Logs stream for the build logs.-
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 Detail
-
groupName
LogsLocation.Builder groupName(String groupName)
The name of the CloudWatch Logs group for the build logs.
- Parameters:
groupName- The name of the CloudWatch Logs group for the build logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamName
LogsLocation.Builder streamName(String streamName)
The name of the CloudWatch Logs stream for the build logs.
- Parameters:
streamName- The name of the CloudWatch Logs stream for the build logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepLink
LogsLocation.Builder deepLink(String deepLink)
The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the
deeplinkwill not be valid until it is created.- Parameters:
deepLink- The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and thedeeplinkwill not be valid until it is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DeepLink
LogsLocation.Builder s3DeepLink(String s3DeepLink)
The URL to a build log in an S3 bucket.
- Parameters:
s3DeepLink- The URL to a build log in an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsArn
LogsLocation.Builder cloudWatchLogsArn(String cloudWatchLogsArn)
The ARN of the CloudWatch Logs stream for a build execution. Its format is
arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.- Parameters:
cloudWatchLogsArn- The ARN of the CloudWatch Logs stream for a build execution. Its format isarn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3LogsArn
LogsLocation.Builder s3LogsArn(String s3LogsArn)
The ARN of S3 logs for a build project. Its format is
arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3.- Parameters:
s3LogsArn- The ARN of S3 logs for a build project. Its format isarn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
LogsLocation.Builder cloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs)
Information about CloudWatch Logs for a build project.
- Parameters:
cloudWatchLogs- Information about CloudWatch Logs for a build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
default LogsLocation.Builder cloudWatchLogs(Consumer<CloudWatchLogsConfig.Builder> cloudWatchLogs)
Information about CloudWatch Logs for a build project.
This is a convenience method that creates an instance of theCloudWatchLogsConfig.Builderavoiding the need to create one manually viaCloudWatchLogsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogsConfig).- Parameters:
cloudWatchLogs- a consumer that will call methods onCloudWatchLogsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cloudWatchLogs(CloudWatchLogsConfig)
-
s3Logs
LogsLocation.Builder s3Logs(S3LogsConfig s3Logs)
Information about S3 logs for a build project.
- Parameters:
s3Logs- Information about S3 logs for a build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Logs
default LogsLocation.Builder s3Logs(Consumer<S3LogsConfig.Builder> s3Logs)
Information about S3 logs for a build project.
This is a convenience method that creates an instance of theS3LogsConfig.Builderavoiding the need to create one manually viaS3LogsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Logs(S3LogsConfig).- Parameters:
s3Logs- a consumer that will call methods onS3LogsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Logs(S3LogsConfig)
-
-