public CreatePolicyRequest withPolicyName(String policyName) {
        setPolicyName(policyName);
        return this;
    }
<p>
The friendly name of the policy.
</p>
<p>
IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case.
For example, you cannot create resources named both "MyResource" and "myresource".
</p>

@param policyName
       The friendly name of the policy.</p>
       <p>
       IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by
       case. For example, you cannot create resources named both "MyResource" and "myresource".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/CreatePolicyRequest.java