public DatasetGroup withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
</p>

@param roleArn
       The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
       Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/DatasetGroup.java