public InputDeviceMediaConnectSettings withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
The ARN for the role that MediaLive assumes to access the attached flow and secret.

@param roleArn
       The ARN for the role that MediaLive assumes to access the attached flow and secret.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/InputDeviceMediaConnectSettings.java