Class CreatePolicyVersionRequest

    • Constructor Detail

      • CreatePolicyVersionRequest

        public CreatePolicyVersionRequest()
    • Method Detail

      • setPolicyName

        public void setPolicyName​(String policyName)

        The policy name.

        Parameters:
        policyName - The policy name.
      • getPolicyName

        public String getPolicyName()

        The policy name.

        Returns:
        The policy name.
      • withPolicyName

        public CreatePolicyVersionRequest withPolicyName​(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.
      • setPolicyDocument

        public void setPolicyDocument​(String policyDocument)

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

        Parameters:
        policyDocument - The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespaces
      • getPolicyDocument

        public String getPolicyDocument()

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

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

        public CreatePolicyVersionRequest withPolicyDocument​(String policyDocument)

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

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

        public void setSetAsDefault​(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).
      • getSetAsDefault

        public Boolean getSetAsDefault()

        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).
      • withSetAsDefault

        public CreatePolicyVersionRequest withSetAsDefault​(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.
      • isSetAsDefault

        public Boolean isSetAsDefault()

        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 String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object