diff --git a/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/rest/IcebergRestCatalogConfig.java b/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/rest/IcebergRestCatalogConfig.java index 5fc5d082303b..3d515d1e186c 100644 --- a/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/rest/IcebergRestCatalogConfig.java +++ b/plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/rest/IcebergRestCatalogConfig.java @@ -70,6 +70,19 @@ public IcebergRestCatalogConfig setPrefix(String prefix) return this; } + public Optional getWarehouse() + { + return warehouse; + } + + @Config("iceberg.rest-catalog.warehouse") + @ConfigDescription("The warehouse location/identifier to use with the REST catalog server") + public IcebergRestCatalogConfig setWarehouse(String warehouse) + { + this.warehouse = Optional.ofNullable(warehouse); + return this; + } + @NotNull public Security getSecurity() { @@ -98,19 +111,6 @@ public IcebergRestCatalogConfig setSessionType(SessionType sessionType) return this; } - public Optional getWarehouse() - { - return warehouse; - } - - @Config("iceberg.rest-catalog.warehouse") - @ConfigDescription("The warehouse location/identifier to use with the REST catalog server") - public IcebergRestCatalogConfig setWarehouse(String warehouse) - { - this.warehouse = Optional.ofNullable(warehouse); - return this; - } - public boolean isVendedCredentialsEnabled() { return vendedCredentialsEnabled;