Class GetPolicyResponse

    • Method Detail

      • policyName

        public final String policyName()

        The policy name.

        Returns:
        The policy name.
      • policyArn

        public final String policyArn()

        The policy ARN.

        Returns:
        The policy ARN.
      • policyDocument

        public final String policyDocument()

        The JSON document that describes the policy.

        Returns:
        The JSON document that describes the policy.
      • defaultVersionId

        public final String defaultVersionId()

        The default policy version ID.

        Returns:
        The default policy version ID.
      • creationDate

        public final Instant creationDate()

        The date the policy was created.

        Returns:
        The date the policy was created.
      • lastModifiedDate

        public final Instant lastModifiedDate()

        The date the policy was last modified.

        Returns:
        The date the policy was last modified.
      • generationId

        public final String generationId()

        The generation ID of the policy.

        Returns:
        The generation ID of the policy.
      • 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