Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add maxVersion in tlsconfig #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-fc</artifactId>
<packaging>jar</packaging>
<version>1.8.37</version>
<version>1.8.39</version>
<name>aliyun-java-sdk-fc</name>
<url>https://www.aliyun.com/product/fc</url>
<description>Aliyun Java SDK for FunctionCompute</description>
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/aliyuncs/fc/model/TLSConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public class TLSConfig {
@SerializedName("minVersion")
public String minVersion;

@SerializedName("maxVersion")
public String maxVersion;

public TLSConfig (String minVersion, java.util.List<String> cipherSuites) {
this.cipherSuites = cipherSuites;
this.minVersion = minVersion;
Expand All @@ -34,4 +37,9 @@ public TLSConfig setMinVersion(String minVersion) {
this.minVersion = minVersion;
return this;
}

public TLSConfig setMaxVersion(String maxVersion) {
this.maxVersion = maxVersion;
return this;
}
}