Class DatasetSummary

    • Method Detail

      • id

        public final String id()

        The ID of the dataset.

        Returns:
        The ID of the dataset.
      • arn

        public final String arn()

        The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

        Returns:
        The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.
      • name

        public final String name()

        The name of the dataset.

        Returns:
        The name of the dataset.
      • description

        public final String description()

        A description about the dataset, and its functionality.

        Returns:
        A description about the dataset, and its functionality.
      • creationDate

        public final Instant creationDate()

        The dataset creation date, in Unix epoch time.

        Returns:
        The dataset creation date, in Unix epoch time.
      • lastUpdateDate

        public final Instant lastUpdateDate()

        The date the dataset was last updated, in Unix epoch time.

        Returns:
        The date the dataset was last updated, in Unix epoch time.
      • status

        public final DatasetStatus status()

        The status of the dataset. This contains the state and any error messages. The state is ACTIVE when ready to use.

        Returns:
        The status of the dataset. This contains the state and any error messages. The state is ACTIVE when ready to use.
      • 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)