public void setIamRoles(java.util.Collection<ClusterIamRole> iamRoles) {
        if (iamRoles == null) {
            this.iamRoles = null;
            return;
        }

        this.iamRoles = new com.amazonaws.internal.SdkInternalList<ClusterIamRole>(iamRoles);
    }
<p>
A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web
Services services.
</p>

@param iamRoles
       A list of Identity and Access Management (IAM) roles that can be used by the cluster to access other
       Amazon Web Services services.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Cluster.java