Class DataSourceSummary

    • Method Detail

      • createdAt

        public final Instant createdAt()

        The timestamp of when the data source was created.

        Returns:
        The timestamp of when the data source was created.
      • dataSourceId

        public final String dataSourceId()

        The ID of the data source.

        Returns:
        The ID of the data source.
      • domainId

        public final String domainId()

        The ID of the Amazon DataZone domain in which the data source exists.

        Returns:
        The ID of the Amazon DataZone domain in which the data source exists.
      • enableSettingAsString

        public final String enableSettingAsString()

        Specifies whether the data source is enabled.

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

        Returns:
        Specifies whether the data source is enabled.
        See Also:
        EnableSetting
      • environmentId

        public final String environmentId()

        The ID of the environment in which the data source exists.

        Returns:
        The ID of the environment in which the data source exists.
      • lastRunAssetCount

        public final Integer lastRunAssetCount()

        The count of the assets created during the last data source run.

        Returns:
        The count of the assets created during the last data source run.
      • lastRunAt

        public final Instant lastRunAt()

        The timestamp of when the data source run was last performed.

        Returns:
        The timestamp of when the data source run was last performed.
      • lastRunErrorMessage

        public final DataSourceErrorMessage lastRunErrorMessage()
        Returns the value of the LastRunErrorMessage property for this object.
        Returns:
        The value of the LastRunErrorMessage property for this object.
      • name

        public final String name()

        The name of the data source.

        Returns:
        The name of the data source.
      • schedule

        public final ScheduleConfiguration schedule()
        Returns the value of the Schedule property for this object.
        Returns:
        The value of the Schedule property for this object.
      • type

        public final String type()

        The type of the data source.

        Returns:
        The type of the data source.
      • updatedAt

        public final Instant updatedAt()

        The timestamp of when the data source was updated.

        Returns:
        The timestamp of when the data source was 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)