Class CreatePrestoEngineOptions.Builder

  • Enclosing class:
    CreatePrestoEngineOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public CreatePrestoEngineOptions build()
        Builds a CreatePrestoEngineOptions.
        Returns:
        the new CreatePrestoEngineOptions instance
      • addAssociatedCatalogs

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

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

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

        public CreatePrestoEngineOptions.Builder origin​(java.lang.String origin)
        Set the origin.
        Parameters:
        origin - the origin
        Returns:
        the CreatePrestoEngineOptions builder
      • associatedCatalogs

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

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

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

        public CreatePrestoEngineOptions.Builder authInstanceId​(java.lang.String authInstanceId)
        Set the authInstanceId.
        Parameters:
        authInstanceId - the authInstanceId
        Returns:
        the CreatePrestoEngineOptions builder