Class S3ReportExportConfig

    • Method Detail

      • bucket

        public final String bucket()

        The name of the S3 bucket where the raw data of a report are exported.

        Returns:
        The name of the S3 bucket where the raw data of a report are exported.
      • bucketOwner

        public final String bucketOwner()

        The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.

        Returns:
        The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.
      • path

        public final String path()

        The path to the exported report's raw data results.

        Returns:
        The path to the exported report's raw data results.
      • packaging

        public final ReportPackagingType packaging()

        The type of build output artifact to create. Valid values include:

        • NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.

        • ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.

        If the service returns an enum value that is not available in the current SDK version, packaging will return ReportPackagingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from packagingAsString().

        Returns:
        The type of build output artifact to create. Valid values include:

        • NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.

        • ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.

        See Also:
        ReportPackagingType
      • packagingAsString

        public final String packagingAsString()

        The type of build output artifact to create. Valid values include:

        • NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.

        • ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.

        If the service returns an enum value that is not available in the current SDK version, packaging will return ReportPackagingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from packagingAsString().

        Returns:
        The type of build output artifact to create. Valid values include:

        • NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.

        • ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.

        See Also:
        ReportPackagingType
      • encryptionKey

        public final String encryptionKey()

        The encryption key for the report's encrypted raw data.

        Returns:
        The encryption key for the report's encrypted raw data.
      • encryptionDisabled

        public final Boolean encryptionDisabled()

        A boolean value that specifies if the results of a report are encrypted.

        Returns:
        A boolean value that specifies if the results of a report are encrypted.
      • 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)