public PutDestinationRequest withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis <code>PutRecord</code>
operation on the destination stream.
</p>

@param roleArn
       The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis
       <code>PutRecord</code> operation on the destination stream.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutDestinationRequest.java