Class PrestoEnginePatch.Builder

  • Enclosing class:
    PrestoEnginePatch

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

      • Builder

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

      • build

        public PrestoEnginePatch build()
        Builds a PrestoEnginePatch.
        Returns:
        the new PrestoEnginePatch instance
      • addTags

        public PrestoEnginePatch.Builder addTags​(java.lang.String tags)
        Adds a new element to tags.
        Parameters:
        tags - the new element to be added
        Returns:
        the PrestoEnginePatch builder
      • description

        public PrestoEnginePatch.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the PrestoEnginePatch builder
      • engineDisplayName

        public PrestoEnginePatch.Builder engineDisplayName​(java.lang.String engineDisplayName)
        Set the engineDisplayName.
        Parameters:
        engineDisplayName - the engineDisplayName
        Returns:
        the PrestoEnginePatch builder
      • engineRestart

        public PrestoEnginePatch.Builder engineRestart​(java.lang.String engineRestart)
        Set the engineRestart.
        Parameters:
        engineRestart - the engineRestart
        Returns:
        the PrestoEnginePatch builder
      • tags

        public PrestoEnginePatch.Builder tags​(java.util.List<java.lang.String> tags)
        Set the tags. Existing tags will be replaced.
        Parameters:
        tags - the tags
        Returns:
        the PrestoEnginePatch builder