public void setLinkedAccountId(String linkedAccountId) {
        this.linkedAccountId = linkedAccountId;
    }
<p>
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more
information, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html">Internet Monitor
cross-account observability</a> in the Amazon CloudWatch Internet Monitor User Guide.
</p>

@param linkedAccountId
       The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
       Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
       more information, see <a
       href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html">Internet
       Monitor cross-account observability</a> in the Amazon CloudWatch Internet Monitor User Guide.
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/model/GetMonitorRequest.java