Class SaveQueryOptions.Builder

  • Enclosing class:
    SaveQueryOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String queryName,
                       java.lang.String createdBy,
                       java.lang.String description,
                       java.lang.String queryString)
        Instantiates a new builder with required properties.
        Parameters:
        queryName - the queryName
        createdBy - the createdBy
        description - the description
        queryString - the queryString
    • Method Detail

      • build

        public SaveQueryOptions build()
        Builds a SaveQueryOptions.
        Returns:
        the new SaveQueryOptions instance
      • queryName

        public SaveQueryOptions.Builder queryName​(java.lang.String queryName)
        Set the queryName.
        Parameters:
        queryName - the queryName
        Returns:
        the SaveQueryOptions builder
      • createdBy

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

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

        public SaveQueryOptions.Builder queryString​(java.lang.String queryString)
        Set the queryString.
        Parameters:
        queryString - the queryString
        Returns:
        the SaveQueryOptions builder
      • createdOn

        public SaveQueryOptions.Builder createdOn​(java.lang.String createdOn)
        Set the createdOn.
        Parameters:
        createdOn - the createdOn
        Returns:
        the SaveQueryOptions builder
      • engineId

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

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