Class AwsIamInstanceProfileRole

    • Method Detail

      • arn

        public final String arn()

        The ARN of the role.

        Returns:
        The ARN of the role.
      • assumeRolePolicyDocument

        public final String assumeRolePolicyDocument()

        The policy that grants an entity permission to assume the role.

        Returns:
        The policy that grants an entity permission to assume the role.
      • createDate

        public final String createDate()

        Indicates when the role was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Indicates when the role was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

      • path

        public final String path()

        The path to the role.

        Returns:
        The path to the role.
      • roleId

        public final String roleId()

        The identifier of the role.

        Returns:
        The identifier of the role.
      • roleName

        public final String roleName()

        The name of the role.

        Returns:
        The name of the role.
      • 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)