Class LogsLocation

    • Method Detail

      • groupName

        public final String groupName()

        The name of the CloudWatch Logs group for the build logs.

        Returns:
        The name of the CloudWatch Logs group for the build logs.
      • streamName

        public final String streamName()

        The name of the CloudWatch Logs stream for the build logs.

        Returns:
        The name of the CloudWatch Logs stream for the build logs.
      • deepLink

        public final 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.

        Returns:
        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.
      • s3DeepLink

        public final String s3DeepLink()

        The URL to a build log in an S3 bucket.

        Returns:
        The URL to a build log in an S3 bucket.
      • cloudWatchLogsArn

        public final 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.

        Returns:
        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.
      • s3LogsArn

        public final 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.

        Returns:
        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.
      • cloudWatchLogs

        public final CloudWatchLogsConfig cloudWatchLogs()

        Information about CloudWatch Logs for a build project.

        Returns:
        Information about CloudWatch Logs for a build project.
      • s3Logs

        public final S3LogsConfig s3Logs()

        Information about S3 logs for a build project.

        Returns:
        Information about S3 logs for a build project.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)