public AmpConfiguration withWorkspaceArn(String workspaceArn) {
        setWorkspaceArn(workspaceArn);
        return this;
    }
<p>
ARN of the Amazon Managed Service for Prometheus workspace.
</p>

@param workspaceArn
       ARN of the Amazon Managed Service for Prometheus workspace.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-prometheus/src/main/java/com/amazonaws/services/prometheus/model/AmpConfiguration.java