Class DBInstanceRole

    • Method Detail

      • roleArn

        public final String roleArn()

        The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.

        Returns:
        The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
      • featureName

        public final String featureName()

        The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion.

        Returns:
        The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion.
      • status

        public final String status()

        Information about the state of association between the IAM role and the DB instance. The Status property returns one of the following values:

        • ACTIVE - the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf.

        • PENDING - the IAM role ARN is being associated with the DB instance.

        • INVALID - the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.

        Returns:
        Information about the state of association between the IAM role and the DB instance. The Status property returns one of the following values:

        • ACTIVE - the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf.

        • PENDING - the IAM role ARN is being associated with the DB instance.

        • INVALID - the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.

      • 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)