Class GeneratedPolicyProperties

    • Method Detail

      • isComplete

        public final Boolean isComplete()

        This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.

        Returns:
        This value is set to true if the generated policy contains all possible actions for a service that IAM Access Analyzer identified from the CloudTrail trail that you specified, and false otherwise.
      • principalArn

        public final String principalArn()

        The ARN of the IAM entity (user or role) for which you are generating a policy.

        Returns:
        The ARN of the IAM entity (user or role) for which you are generating a policy.
      • cloudTrailProperties

        public final CloudTrailProperties cloudTrailProperties()

        Lists details about the Trail used to generated policy.

        Returns:
        Lists details about the Trail used to generated policy.
      • 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)