Interface LogsLocation.Builder

  • Method Details

    • 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 deeplink will 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 the deeplink will 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 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.
      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 is arn:${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 the CloudWatchLogsConfig.Builder avoiding the need to create one manually via CloudWatchLogsConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cloudWatchLogs(CloudWatchLogsConfig).

      Parameters:
      cloudWatchLogs - a consumer that will call methods on CloudWatchLogsConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      Information about S3 logs for a build project.

      This is a convenience method that creates an instance of the S3LogsConfig.Builder avoiding the need to create one manually via S3LogsConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3Logs(S3LogsConfig).

      Parameters:
      s3Logs - a consumer that will call methods on S3LogsConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: