Class ShareDetails

    • Method Detail

      • shareId

        public final String shareId()

        The ID of the resource share.

        Returns:
        The ID of the resource share.
      • resourceArn

        public final String resourceArn()

        The Arn of the shared resource.

        Returns:
        The Arn of the shared resource.
      • resourceId

        public final String resourceId()

        The ID of the shared resource.

        Returns:
        The ID of the shared resource.
      • principalSubscriber

        public final String principalSubscriber()

        The principal subscriber is the account that is sharing the resource.

        Returns:
        The principal subscriber is the account that is sharing the resource.
      • ownerId

        public final String ownerId()

        The account ID for the data owner. The owner creates the resource share.

        Returns:
        The account ID for the data owner. The owner creates the resource share.
      • statusAsString

        public final String statusAsString()

        The status of the share.

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

        Returns:
        The status of the share.
        See Also:
        ShareStatus
      • statusMessage

        public final String statusMessage()

        The status message for a resource share. It provides additional details about the share status.

        Returns:
        The status message for a resource share. It provides additional details about the share status.
      • shareName

        public final String shareName()

        The name of the resource share.

        Returns:
        The name of the resource share.
      • creationTime

        public final Instant creationTime()

        The timestamp of when the resource share was created.

        Returns:
        The timestamp of when the resource share was created.
      • updateTime

        public final Instant updateTime()

        The timestamp of the resource share update.

        Returns:
        The timestamp of the resource share update.
      • 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)