code: public void beginUpdateGatewaySettings(String resourceGroupName, String clusterName, UpdateGatewaySettingsParameters parameters) {
          beginUpdateGatewaySettingsWithServiceResponseAsync(resourceGroupName, clusterName, parameters).toBlocking().single().body();
      }
docs: Configures the gateway settings on the specified cluster.
  
  @param resourceGroupName The name of the resource group.
  @param clusterName The name of the cluster.
  @param parameters The cluster configurations.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent