code: public final LogSink getSink(String sinkName) {
  
      GetSinkRequest request = GetSinkRequest.newBuilder().setSinkName(sinkName).build();
      return getSink(request);
    }
docs: Gets a sink.
  
  <p>Sample code:
  
  <pre><code>
  try (ConfigClient configClient = ConfigClient.create()) {
  SinkName sinkName = ProjectSinkName.of("[PROJECT]", "[SINK]");
  LogSink response = configClient.getSink(sinkName.toString());
  }
  </code></pre>
  
  @param sinkName Required. The resource name of the sink:
  <p>"projects/[PROJECT_ID]/sinks/[SINK_ID]"
  "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
  "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
  "folders/[FOLDER_ID]/sinks/[SINK_ID]"
  <p>Example: `"projects/my-project-id/sinks/my-sink-id"`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails