Class CreatePolicyVersionRequest

    • Method Detail

      • policyName

        public final String policyName()

        The policy name.

        Returns:
        The policy name.
      • policyDocument

        public final String policyDocument()

        The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.

        Returns:
        The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
      • setAsDefault

        public final Boolean setAsDefault()

        Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

        Returns:
        Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
      • 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