Class GetAudioOptions.Builder

java.lang.Object
com.ibm.watson.speech_to_text.v1.model.GetAudioOptions.Builder
Enclosing class:
GetAudioOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public GetAudioOptions build()
      Builds a GetAudioOptions.
      Returns:
      the new GetAudioOptions instance
    • customizationId

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

      public GetAudioOptions.Builder audioName​(String audioName)
      Set the audioName.
      Parameters:
      audioName - the audioName
      Returns:
      the GetAudioOptions builder