public CreateReplicationJobRequest withRoleName(String roleName) {
        setRoleName(roleName);
        return this;
    }
<p>
The name of the IAM role to be used by the Server Migration Service.
</p>

@param roleName
       The name of the IAM role to be used by the Server Migration Service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/CreateReplicationJobRequest.java