Class GetVoiceOptions.Builder

java.lang.Object
com.ibm.watson.text_to_speech.v1.model.GetVoiceOptions.Builder
Enclosing class:
GetVoiceOptions

public static class GetVoiceOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String voice)
      Instantiates a new builder with required properties.
      Parameters:
      voice - the voice
  • Method Details

    • build

      public GetVoiceOptions build()
      Builds a GetVoiceOptions.
      Returns:
      the new GetVoiceOptions instance
    • voice

      public GetVoiceOptions.Builder voice​(String voice)
      Set the voice.
      Parameters:
      voice - the voice
      Returns:
      the GetVoiceOptions builder
    • customizationId

      public GetVoiceOptions.Builder customizationId​(String customizationId)
      Set the customizationId.
      Parameters:
      customizationId - the customizationId
      Returns:
      the GetVoiceOptions builder