Class ImagePatch.Builder

  • Enclosing class:
    ImagePatch

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

      • Builder

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

      • build

        public ImagePatch build()
        Builds a ImagePatch.
        Returns:
        the new ImagePatch instance
      • deprecationAt

        public ImagePatch.Builder deprecationAt​(Date deprecationAt)
        Set the deprecationAt.
        Parameters:
        deprecationAt - the deprecationAt
        Returns:
        the ImagePatch builder
      • name

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

        public ImagePatch.Builder obsolescenceAt​(Date obsolescenceAt)
        Set the obsolescenceAt.
        Parameters:
        obsolescenceAt - the obsolescenceAt
        Returns:
        the ImagePatch builder