Interface CreatePolicyVersionRequest.Builder

    • Method Detail

      • policyName

        CreatePolicyVersionRequest.Builder policyName​(String policyName)

        The policy name.

        Parameters:
        policyName - The policy name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocument

        CreatePolicyVersionRequest.Builder policyDocument​(String policyDocument)

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

        Parameters:
        policyDocument - The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAsDefault

        CreatePolicyVersionRequest.Builder setAsDefault​(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).

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.