Class SnapshotPatch.Builder

  • Enclosing class:
    SnapshotPatch

    public static class SnapshotPatch.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public SnapshotPatch build()
        Builds a SnapshotPatch.
        Returns:
        the new SnapshotPatch instance
      • addUserTags

        public SnapshotPatch.Builder addUserTags​(String userTags)
        Adds a new element to userTags.
        Parameters:
        userTags - the new element to be added
        Returns:
        the SnapshotPatch builder
      • name

        public SnapshotPatch.Builder name​(String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the SnapshotPatch builder
      • userTags

        public SnapshotPatch.Builder userTags​(List<String> userTags)
        Set the userTags. Existing userTags will be replaced.
        Parameters:
        userTags - the userTags
        Returns:
        the SnapshotPatch builder