public AmazonRedshiftNodeData withIamRole(Option iamRole) {
        setIamRole(iamRole);
        return this;
    }
<p>
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left
blank.
</p>

@param iamRole
       Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when
       left blank.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/AmazonRedshiftNodeData.java