File tree Expand file tree Collapse file tree 11 files changed +210
-110
lines changed
main/java/com/volcengine/model
test/java/com/volcengine/service/tls/impl Expand file tree Collapse file tree 11 files changed +210
-110
lines changed Original file line number Diff line number Diff line change 11Change log
22
3+ 2025-12-04 Bumped to version v1.0.250
4+ - Updated apis for sdk
5+
362025-11-27 Bumped to version v1.0.249
47- Updated apis for sdk
58
Original file line number Diff line number Diff line change 44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55 <modelVersion >4.0.0</modelVersion >
66 <groupId >com.volcengine</groupId >
7- <version >1.0.249 </version >
7+ <version >1.0.250 </version >
88 <artifactId >volc-sdk-java</artifactId >
99
1010 <name >volc-sdk-java</name >
Original file line number Diff line number Diff line change @@ -27,4 +27,15 @@ public class ActMediaForm {
2727 Long MediaId ;
2828 @ JSONField (name = "Vid" )
2929 java .lang .String Vid ;
30- }
30+ @ JSONField (name = "InteractionScript" )
31+ ActMediaFormInteractionScript InteractionScript ;
32+
33+
34+ @ Data
35+ public static class ActMediaFormInteractionScript {
36+ @ JSONField (name = "ScriptId" )
37+ Long ScriptId ;
38+ @ JSONField (name = "CommentOffset" )
39+ Integer CommentOffset ;
40+ }
41+ }
Original file line number Diff line number Diff line change @@ -48,5 +48,7 @@ public static class ListMediasAPIForm {
4848 Long StartTime ;
4949 @ JSONField (name = "EndTime" )
5050 Long EndTime ;
51+ @ JSONField (name = "InteractionScriptId" )
52+ Long InteractionScriptId ;
5153 }
52- }
54+ }
Original file line number Diff line number Diff line change @@ -124,6 +124,13 @@ public class Const {
124124 public static final String HOT_TTL = "HotTtl" ;
125125 public static final String COLD_TTL = "ColdTtl" ;
126126 public static final String ARCHIVE_TTL = "ArchiveTtl" ;
127+ public static final String KMS_ENCRYPT_CONF = "EncryptConf" ;
128+ public static final String KMS_ENABLE = "enable" ;
129+ public static final String KMS_ENCRYPT_TYPE = "encrypt_type" ;
130+ public static final String KMS_ENCRYPT_USER_CMK_CONF = "user_cmk_info" ;
131+ public static final String KMS_ENCRYPT_USER_CMK_CONF_USER_CMK_ID = "user_cmk_id" ;
132+ public static final String KMS_ENCRYPT_USER_CMK_CONF_TRN = "trn" ;
133+ public static final String KMS_ENCRYPT_USER_CMK_CONF_REGION_ID = "region_id" ;
127134
128135 //shard
129136 public static final String SHARDS = "Shards" ;
Original file line number Diff line number Diff line change 1+ package com .volcengine .model .tls ;
2+
3+ import com .alibaba .fastjson .annotation .JSONField ;
4+ import lombok .AllArgsConstructor ;
5+ import lombok .Data ;
6+
7+ import static com .volcengine .model .tls .Const .*;
8+
9+ @ Data
10+ @ AllArgsConstructor
11+ public class EncryptConf {
12+ @ JSONField (name = KMS_ENABLE )
13+ private boolean enable ;
14+ @ JSONField (name = KMS_ENCRYPT_TYPE )
15+ private String encryptType ;
16+ @ JSONField (name = KMS_ENCRYPT_USER_CMK_CONF )
17+ private EncryptUserCmkConf encryptUserCmkConf ;
18+
19+ public EncryptConf () {
20+ this (true , "default" , null );
21+ }
22+
23+ public EncryptConf (boolean enable ) {
24+ this .enable = enable ;
25+ this .encryptType = "default" ;
26+ }
27+
28+ public EncryptConf (boolean enable , String encryptType ) {
29+ this (enable , encryptType , null );
30+ }
31+ }
Original file line number Diff line number Diff line change 1+ package com .volcengine .model .tls ;
2+
3+ import com .alibaba .fastjson .annotation .JSONField ;
4+ import lombok .AllArgsConstructor ;
5+ import lombok .Data ;
6+
7+ import static com .volcengine .model .tls .Const .*;
8+
9+ @ Data
10+ @ AllArgsConstructor
11+ public class EncryptUserCmkConf {
12+ @ JSONField (name = KMS_ENCRYPT_USER_CMK_CONF_USER_CMK_ID )
13+ private String userCmkID ;
14+ @ JSONField (name = KMS_ENCRYPT_USER_CMK_CONF_TRN )
15+ private String trn ;
16+ @ JSONField (name = KMS_ENCRYPT_USER_CMK_CONF_REGION_ID )
17+ private String regionId ;
18+ }
Original file line number Diff line number Diff line change @@ -51,4 +51,6 @@ public class TopicInfo {
5151 Integer coldTtl ;
5252 @ JSONField (name = ARCHIVE_TTL )
5353 Integer archiveTtl ;
54+ @ JSONField (name = KMS_ENCRYPT_CONF )
55+ EncryptConf encryptConf ;
5456}
Original file line number Diff line number Diff line change 33import java .util .List ;
44
55import com .alibaba .fastjson .annotation .JSONField ;
6+ import com .volcengine .model .tls .EncryptConf ;
67import com .volcengine .model .tls .TagInfo ;
78import lombok .Data ;
89import lombok .NoArgsConstructor ;
@@ -44,6 +45,8 @@ public class CreateTopicRequest {
4445 Integer coldTtl ;
4546 @ JSONField (name = ARCHIVE_TTL )
4647 Integer archiveTtl ;
48+ @ JSONField (name = KMS_ENCRYPT_CONF )
49+ EncryptConf encryptConf ;
4750
4851 /**
4952 * @return 日志主题名称
Original file line number Diff line number Diff line change 11package com .volcengine .model .tls .request ;
22
33import com .alibaba .fastjson .annotation .JSONField ;
4+ import com .volcengine .model .tls .EncryptConf ;
45import lombok .Data ;
56import lombok .NoArgsConstructor ;
67
@@ -37,6 +38,8 @@ public class ModifyTopicRequest {
3738 Integer coldTtl ;
3839 @ JSONField (name = ARCHIVE_TTL )
3940 Integer archiveTtl ;
41+ @ JSONField (name = KMS_ENCRYPT_CONF )
42+ EncryptConf encryptConf ;
4043
4144 /**
4245 * @return 日志主题 ID
You can’t perform that action at this time.
0 commit comments