code: public ServiceCall<Voice> getVoice(GetVoiceOptions getVoiceOptions) {
      Validator.notNull(getVoiceOptions, "getVoiceOptions cannot be null");
      String[] pathSegments = { "v1/voices" };
      String[] pathParameters = { getVoiceOptions.voice() };
      RequestBuilder builder = RequestBuilder.get(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments,
          pathParameters));
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("text_to_speech", "v1", "getVoice");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      if (getVoiceOptions.customizationId() != null) {
        builder.query("customization_id", getVoiceOptions.customizationId());
      }
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(Voice.class));
    }
docs: Get a voice.
  
  Gets information about the specified voice. The information includes the name, language, gender, and other details
  about the voice. Specify a customization ID to obtain information for that custom voice model of the specified
  voice. To list information about all available voices, use the **List voices** method.
  
  **See also:** [Listing a specific voice](https://cloud.ibm.com/docs/services/text-to-speech/voices.html#listVoice).
  
  @param getVoiceOptions the {@link GetVoiceOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of {@link Voice}