Class CreateAssetRevisionResponse

    • Method Detail

      • createdAt

        public final Instant createdAt()

        The timestamp of when the asset revision occured.

        Returns:
        The timestamp of when the asset revision occured.
      • createdBy

        public final String createdBy()

        The Amazon DataZone user who performed the asset revision.

        Returns:
        The Amazon DataZone user who performed the asset revision.
      • description

        public final String description()

        The revised asset description.

        Returns:
        The revised asset description.
      • domainId

        public final String domainId()

        The unique identifier of the Amazon DataZone domain where the asset was revised.

        Returns:
        The unique identifier of the Amazon DataZone domain where the asset was revised.
      • externalIdentifier

        public final String externalIdentifier()

        Returns:
      • firstRevisionCreatedAt

        public final Instant firstRevisionCreatedAt()

        The timestamp of when the first asset revision occured.

        Returns:
        The timestamp of when the first asset revision occured.
      • firstRevisionCreatedBy

        public final String firstRevisionCreatedBy()

        The Amazon DataZone user who performed the first asset revision.

        Returns:
        The Amazon DataZone user who performed the first asset revision.
      • hasFormsOutput

        public final boolean hasFormsOutput()
        For responses, this returns true if the service returned a value for the FormsOutput property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • formsOutput

        public final List<FormOutput> formsOutput()

        The metadata forms that were attached to the asset as part of the asset revision.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasFormsOutput() method.

        Returns:
        The metadata forms that were attached to the asset as part of the asset revision.
      • hasGlossaryTerms

        public final boolean hasGlossaryTerms()
        For responses, this returns true if the service returned a value for the GlossaryTerms property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • glossaryTerms

        public final List<String> glossaryTerms()

        The glossary terms that were attached to the asset as part of asset revision.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasGlossaryTerms() method.

        Returns:
        The glossary terms that were attached to the asset as part of asset revision.
      • id

        public final String id()

        The unique identifier of the asset revision.

        Returns:
        The unique identifier of the asset revision.
      • name

        public final String name()

        The revised name of the asset.

        Returns:
        The revised name of the asset.
      • owningProjectId

        public final String owningProjectId()

        The unique identifier of the revised project that owns the asset.

        Returns:
        The unique identifier of the revised project that owns the asset.
      • predictionConfiguration

        public final PredictionConfiguration predictionConfiguration()

        The configuration of the automatically generated business-friendly metadata for the asset.

        Returns:
        The configuration of the automatically generated business-friendly metadata for the asset.
      • hasReadOnlyFormsOutput

        public final boolean hasReadOnlyFormsOutput()
        For responses, this returns true if the service returned a value for the ReadOnlyFormsOutput property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • readOnlyFormsOutput

        public final List<FormOutput> readOnlyFormsOutput()

        The read-only metadata forms that were attached to the asset as part of the asset revision.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasReadOnlyFormsOutput() method.

        Returns:
        The read-only metadata forms that were attached to the asset as part of the asset revision.
      • revision

        public final String revision()

        The revision of the asset.

        Returns:
        The revision of the asset.
      • typeIdentifier

        public final String typeIdentifier()

        The identifier of the revision type.

        Returns:
        The identifier of the revision type.
      • typeRevision

        public final String typeRevision()

        The revision type of the asset.

        Returns:
        The revision type of the asset.
      • 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