Class EngineUsersMetadata.Builder

  • Enclosing class:
    EngineUsersMetadata

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public EngineUsersMetadata build()
        Builds a EngineUsersMetadata.
        Returns:
        the new EngineUsersMetadata instance
      • permission

        public EngineUsersMetadata.Builder permission​(java.lang.String permission)
        Set the permission.
        Parameters:
        permission - the permission
        Returns:
        the EngineUsersMetadata builder
      • userName

        public EngineUsersMetadata.Builder userName​(java.lang.String userName)
        Set the userName.
        Parameters:
        userName - the userName
        Returns:
        the EngineUsersMetadata builder