public ImportJobResource withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
Pinpoint to access the Amazon S3 location to import endpoint definitions from.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon
       Pinpoint to access the Amazon S3 location to import endpoint definitions from.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ImportJobResource.java