Class ReportDefinition

    • Method Detail

      • reportId

        public final String reportId()

        The ID of the report.

        Returns:
        The ID of the report.
      • reportDescription

        public final String reportDescription()

        Description of the report

        Returns:
        Description of the report
      • format

        public final Format format()

        The format used for the generated reports.

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

        Returns:
        The format used for the generated reports.
        See Also:
        Format
      • formatAsString

        public final String formatAsString()

        The format used for the generated reports.

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

        Returns:
        The format used for the generated reports.
        See Also:
        Format
      • destinationS3Location

        public final S3Location destinationS3Location()

        The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.

        Returns:
        The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
      • createdAt

        public final Instant createdAt()

        Timestamp (milliseconds) when this report definition was created.

        Returns:
        Timestamp (milliseconds) when this report definition was created.
      • lastUpdatedAt

        public final Instant lastUpdatedAt()

        Timestamp (milliseconds) when this report definition was last updated.

        Returns:
        Timestamp (milliseconds) when this report definition was last updated.
      • 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)