Class JsonPatchOperation.Builder

  • Enclosing class:
    JsonPatchOperation

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public JsonPatchOperation build()
        Builds a JsonPatchOperation.
        Returns:
        the new JsonPatchOperation instance
      • op

        public JsonPatchOperation.Builder op​(java.lang.String op)
        Set the op.
        Parameters:
        op - the op
        Returns:
        the JsonPatchOperation builder
      • path

        public JsonPatchOperation.Builder path​(java.lang.String path)
        Set the path.
        Parameters:
        path - the path
        Returns:
        the JsonPatchOperation builder
      • from

        public JsonPatchOperation.Builder from​(java.lang.String from)
        Set the from.
        Parameters:
        from - the from
        Returns:
        the JsonPatchOperation builder
      • value

        public JsonPatchOperation.Builder value​(java.lang.Object value)
        Set the value.
        Parameters:
        value - the value
        Returns:
        the JsonPatchOperation builder