Class ReportDetail

java.lang.Object
software.amazon.awssdk.services.artifact.model.ReportDetail
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ReportDetail.Builder,ReportDetail>

@Generated("software.amazon.awssdk:codegen") public final class ReportDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReportDetail.Builder,ReportDetail>

Full detail for report resource metadata.

See Also:
  • Method Details

    • id

      public final String id()

      Unique resource ID for the report resource.

      Returns:
      Unique resource ID for the report resource.
    • name

      public final String name()

      Name for the report resource.

      Returns:
      Name for the report resource.
    • description

      public final String description()

      Description for the report resource.

      Returns:
      Description for the report resource.
    • periodStart

      public final Instant periodStart()

      Timestamp indicating the report resource effective start.

      Returns:
      Timestamp indicating the report resource effective start.
    • periodEnd

      public final Instant periodEnd()

      Timestamp indicating the report resource effective end.

      Returns:
      Timestamp indicating the report resource effective end.
    • createdAt

      public final Instant createdAt()

      Timestamp indicating when the report resource was created.

      Returns:
      Timestamp indicating when the report resource was created.
    • lastModifiedAt

      public final Instant lastModifiedAt()

      Timestamp indicating when the report resource was last modified.

      Returns:
      Timestamp indicating when the report resource was last modified.
    • deletedAt

      public final Instant deletedAt()

      Timestamp indicating when the report resource was deleted.

      Returns:
      Timestamp indicating when the report resource was deleted.
    • state

      public final PublishedState state()

      Current state of the report resource

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

      Returns:
      Current state of the report resource
      See Also:
    • stateAsString

      public final String stateAsString()

      Current state of the report resource

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

      Returns:
      Current state of the report resource
      See Also:
    • arn

      public final String arn()

      ARN for the report resource.

      Returns:
      ARN for the report resource.
    • series

      public final String series()

      Series for the report resource.

      Returns:
      Series for the report resource.
    • category

      public final String category()

      Category for the report resource.

      Returns:
      Category for the report resource.
    • companyName

      public final String companyName()

      Associated company name for the report resource.

      Returns:
      Associated company name for the report resource.
    • productName

      public final String productName()

      Associated product name for the report resource.

      Returns:
      Associated product name for the report resource.
    • termArn

      public final String termArn()

      Unique resource ARN for term resource.

      Returns:
      Unique resource ARN for term resource.
    • version

      public final Long version()

      Version for the report resource.

      Returns:
      Version for the report resource.
    • acceptanceType

      public final AcceptanceType acceptanceType()

      Acceptance type for report.

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

      Returns:
      Acceptance type for report.
      See Also:
    • acceptanceTypeAsString

      public final String acceptanceTypeAsString()

      Acceptance type for report.

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

      Returns:
      Acceptance type for report.
      See Also:
    • sequenceNumber

      public final Long sequenceNumber()

      Sequence number to enforce optimistic locking.

      Returns:
      Sequence number to enforce optimistic locking.
    • uploadState

      public final UploadState uploadState()

      The current state of the document upload.

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

      Returns:
      The current state of the document upload.
      See Also:
    • uploadStateAsString

      public final String uploadStateAsString()

      The current state of the document upload.

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

      Returns:
      The current state of the document upload.
      See Also:
    • statusMessage

      public final String statusMessage()

      The message associated with the current upload state.

      Returns:
      The message associated with the current upload state.
    • toBuilder

      public ReportDetail.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ReportDetail.Builder,ReportDetail>
      Returns:
      a builder for type T
    • builder

      public static ReportDetail.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ReportDetail.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.