Class SourceOptionsFolder.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.SourceOptionsFolder.Builder
Enclosing class:
SourceOptionsFolder

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public SourceOptionsFolder build()
      Builds a SourceOptionsFolder.
      Returns:
      the new SourceOptionsFolder instance
    • ownerUserId

      public SourceOptionsFolder.Builder ownerUserId​(String ownerUserId)
      Set the ownerUserId.
      Parameters:
      ownerUserId - the ownerUserId
      Returns:
      the SourceOptionsFolder builder
    • folderId

      public SourceOptionsFolder.Builder folderId​(String folderId)
      Set the folderId.
      Parameters:
      folderId - the folderId
      Returns:
      the SourceOptionsFolder builder
    • limit

      public SourceOptionsFolder.Builder limit​(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the SourceOptionsFolder builder