code: public void setPolicies(RetryPolicy[] policies) {
  		this.policies = Arrays.asList(policies).toArray(new RetryPolicy[policies.length]);
  	}
docs: Setter for policies.
  @param policies the {@link RetryPolicy} policies