public AmazonRedshiftNodeData withAccessType(String accessType) {
        setAccessType(accessType);
        return this;
    }
<p>
The access type for the Redshift connection. Can be a direct connection or catalog connections.
</p>

@param accessType
       The access type for the Redshift connection. Can be a direct connection or catalog connections.
@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