@@ -1436,6 +1436,8 @@ public static class StorageConfig {
1436
1436
* - 7: Huawei Cloud
1437
1437
* <p>
1438
1438
* - 8: Baidu IntelligentCloud
1439
+ * <p>
1440
+ * - 11: Self-built cloud storage
1439
1441
*/
1440
1442
@ JsonProperty ("vendor" )
1441
1443
private Integer vendor ;
@@ -1711,13 +1713,22 @@ public static class ExtensionParams {
1711
1713
@ JsonProperty ("tag" )
1712
1714
private String tag ;
1713
1715
1716
+ /**
1717
+ * Domain name of self-built cloud storage.(Optional)
1718
+ * <p>
1719
+ * This field is required when vendor is set to 11.
1720
+ */
1721
+ @ JsonProperty ("endpoint" )
1722
+ private String endpoint ;
1723
+
1714
1724
public static Builder builder () {
1715
1725
return new Builder ();
1716
1726
}
1717
1727
1718
1728
private ExtensionParams (Builder builder ) {
1719
1729
setSse (builder .sse );
1720
1730
setTag (builder .tag );
1731
+ setEndpoint (builder .endpoint );
1721
1732
}
1722
1733
1723
1734
public String getSse () {
@@ -1736,11 +1747,20 @@ public void setTag(String tag) {
1736
1747
this .tag = tag ;
1737
1748
}
1738
1749
1750
+ public String getEndpoint () {
1751
+ return endpoint ;
1752
+ }
1753
+
1754
+ public void setEndpoint (String endpoint ) {
1755
+ this .endpoint = endpoint ;
1756
+ }
1757
+
1739
1758
@ Override
1740
1759
public String toString () {
1741
1760
return "ExtensionParams{" +
1742
1761
"sse='" + sse + '\'' +
1743
1762
", tag='" + tag + '\'' +
1763
+ ", endpoint='" + endpoint + '\'' +
1744
1764
'}' ;
1745
1765
}
1746
1766
@@ -1750,6 +1770,8 @@ public static final class Builder {
1750
1770
1751
1771
private String tag ;
1752
1772
1773
+ private String endpoint ;
1774
+
1753
1775
private Builder () {
1754
1776
}
1755
1777
@@ -1763,6 +1785,11 @@ public Builder tag(String val) {
1763
1785
return this ;
1764
1786
}
1765
1787
1788
+ public Builder endpoint (String val ) {
1789
+ endpoint = val ;
1790
+ return this ;
1791
+ }
1792
+
1766
1793
public ExtensionParams build () {
1767
1794
return new ExtensionParams (this );
1768
1795
}
0 commit comments