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
      • displayName

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

        public PrestoEnginePatch.Builder removeEngineProperties​(RemoveEngineProperties removeEngineProperties)
        Set the removeEngineProperties.
        Parameters:
        removeEngineProperties - the removeEngineProperties
        Returns:
        the PrestoEnginePatch builder
      • restartType

        public PrestoEnginePatch.Builder restartType​(java.lang.String restartType)
        Set the restartType.
        Parameters:
        restartType - the restartType
        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