Class PutRepositoryRequestBuilder

    • Method Detail

      • setSettings

        public PutRepositoryRequestBuilder setSettings​(Settings settings)
        Sets the repository settings
        Parameters:
        settings - repository settings
        Returns:
        this builder
      • setSettings

        public PutRepositoryRequestBuilder setSettings​(String source,
                                                       XContentType xContentType)
        Sets the repository settings in Json or Yaml format
        Parameters:
        source - repository settings
        xContentType - the content type of the source
        Returns:
        this builder
      • setVerify

        public PutRepositoryRequestBuilder setVerify​(boolean verify)
        Sets whether or not repository should be verified after creation
        Parameters:
        verify - true if repository should be verified after registration, false otherwise
        Returns:
        this builder