Class DBClusterRole

    • Method Detail

      • roleArn

        public final String roleArn()

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

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

        public final String status()

        Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:

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

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

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

        Returns:
        Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:

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

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

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

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