public AwsRedshiftClusterDetails withIamRoles(AwsRedshiftClusterIamRole... iamRoles) {
        if (this.iamRoles == null) {
            setIamRoles(new java.util.ArrayList<AwsRedshiftClusterIamRole>(iamRoles.length));
        }
        for (AwsRedshiftClusterIamRole ele : iamRoles) {
            this.iamRoles.add(ele);
        }
        return this;
    }
<p>
A list of IAM roles that the cluster can use to access other Amazon Web Services services.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIamRoles(java.util.Collection)} or {@link #withIamRoles(java.util.Collection)} if you want to override
the existing values.
</p>

@param iamRoles
       A list of IAM roles that the cluster can use to access other Amazon Web Services services.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRedshiftClusterDetails.java