Class UseCase.Builder

  • Enclosing class:
    UseCase

    public static class UseCase.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String id)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
    • Method Detail

      • build

        public UseCase build()
        Builds a UseCase.
        Returns:
        the new UseCase instance
      • id

        public UseCase.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the UseCase builder
      • name

        public UseCase.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the UseCase builder
      • container

        public UseCase.Builder container​(ContainerReference container)
        Set the container.
        Parameters:
        container - the container
        Returns:
        the UseCase builder