Class GetPolicyResponse

    • Method Detail

      • policyStoreId

        public final String policyStoreId()

        The ID of the policy store that contains the policy that you want information about.

        Returns:
        The ID of the policy store that contains the policy that you want information about.
      • policyId

        public final String policyId()

        The unique ID of the policy that you want information about.

        Returns:
        The unique ID of the policy that you want information about.
      • principal

        public final EntityIdentifier principal()

        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.

        Returns:
        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
      • resource

        public final EntityIdentifier resource()

        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.

        Returns:
        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
      • definition

        public final PolicyDefinitionDetail definition()

        The definition of the requested policy.

        Returns:
        The definition of the requested policy.
      • createdDate

        public final Instant createdDate()

        The date and time that the policy was originally created.

        Returns:
        The date and time that the policy was originally created.
      • lastUpdatedDate

        public final Instant lastUpdatedDate()

        The date and time that the policy was last updated.

        Returns:
        The date and time that the policy was last updated.
      • 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