Class GetSpeakerModelOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public GetSpeakerModelOptions build()
      Builds a GetSpeakerModelOptions.
      Returns:
      the new GetSpeakerModelOptions instance
    • speakerId

      public GetSpeakerModelOptions.Builder speakerId​(String speakerId)
      Set the speakerId.
      Parameters:
      speakerId - the speakerId
      Returns:
      the GetSpeakerModelOptions builder