public UpdateProfileRequest withCertificateIds(String... certificateIds) {
        if (this.certificateIds == null) {
            setCertificateIds(new java.util.ArrayList<String>(certificateIds.length));
        }
        for (String ele : certificateIds) {
            this.certificateIds.add(ele);
        }
        return this;
    }
<p>
An array of identifiers for the imported certificates. You use this identifier for working with profiles and
partner profiles.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCertificateIds(java.util.Collection)} or {@link #withCertificateIds(java.util.Collection)} if you want
to override the existing values.
</p>

@param certificateIds
       An array of identifiers for the imported certificates. You use this identifier for working with profiles
       and partner profiles.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/UpdateProfileRequest.java