Class GetMemberResponse

    • Method Detail

      • accountId

        public final String accountId()

        The Amazon Web Services account ID for the account.

        Returns:
        The Amazon Web Services account ID for the account.
      • administratorAccountId

        public final String administratorAccountId()

        The Amazon Web Services account ID for the administrator account.

        Returns:
        The Amazon Web Services account ID for the administrator account.
      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the account.

        Returns:
        The Amazon Resource Name (ARN) of the account.
      • email

        public final String email()

        The email address for the account. This value is null if the account is associated with the administrator account through Organizations.

        Returns:
        The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
      • invitedAt

        public final Instant invitedAt()

        The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.

        Returns:
        The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
      • masterAccountId

        public final String masterAccountId()

        (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

        Returns:
        (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
      • relationshipStatus

        public final RelationshipStatus relationshipStatus()

        The current status of the relationship between the account and the administrator account.

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

        Returns:
        The current status of the relationship between the account and the administrator account.
        See Also:
        RelationshipStatus
      • relationshipStatusAsString

        public final String relationshipStatusAsString()

        The current status of the relationship between the account and the administrator account.

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

        Returns:
        The current status of the relationship between the account and the administrator account.
        See Also:
        RelationshipStatus
      • hasTags

        public final boolean hasTags()
        For responses, this returns true if the service returned a value for the Tags 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.
      • tags

        public final Map<String,​String> tags()

        A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.

        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 hasTags() method.

        Returns:
        A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
      • updatedAt

        public final Instant updatedAt()

        The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.

        Returns:
        The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
      • 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