Interface LogsLocation.Builder

    • 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 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.
      • 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.