Class IpamDiscoveredAccount

    • Method Detail

      • accountId

        public final String accountId()

        The account ID.

        Returns:
        The account ID.
      • discoveryRegion

        public final String discoveryRegion()

        The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.

        Returns:
        The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
      • failureReason

        public final IpamDiscoveryFailureReason failureReason()

        The resource discovery failure reason.

        Returns:
        The resource discovery failure reason.
      • lastAttemptedDiscoveryTime

        public final Instant lastAttemptedDiscoveryTime()

        The last attempted resource discovery time.

        Returns:
        The last attempted resource discovery time.
      • lastSuccessfulDiscoveryTime

        public final Instant lastSuccessfulDiscoveryTime()

        The last successful resource discovery time.

        Returns:
        The last successful resource discovery time.
      • 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)