Class CreatePolicyResponse

    • Method Detail

      • policyStoreId

        public final String policyStoreId()

        The ID of the policy store that contains the new policy.

        Returns:
        The ID of the policy store that contains the new policy.
      • policyId

        public final String policyId()

        The unique ID of the new policy.

        Returns:
        The unique ID of the new policy.
      • principal

        public final EntityIdentifier principal()

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

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

        public final EntityIdentifier resource()

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

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

        public final Instant createdDate()

        The date and time the policy was originally created.

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

        public final Instant lastUpdatedDate()

        The date and time the policy was last updated.

        Returns:
        The date and time 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