Class UpdatePolicyResponse

    • Method Detail

      • policyStoreId

        public final String policyStoreId()

        The ID of the policy store that contains the policy that was updated.

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

        public final String policyId()

        The ID of the policy that was updated.

        Returns:
        The ID of the policy that was updated.
      • policyTypeAsString

        public final String policyTypeAsString()

        The type of the policy that was updated.

        If the service returns an enum value that is not available in the current SDK version, policyType will return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from policyTypeAsString().

        Returns:
        The type of the policy that was updated.
        See Also:
        PolicyType
      • 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.
      • 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 most recently updated.

        Returns:
        The date and time that the policy was most recently 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