Skip to content

Commit

Permalink
Supported Jumbo for HDENI and LENI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 24, 2024
1 parent eb716c3 commit 7f3acb0
Show file tree
Hide file tree
Showing 13 changed files with 502 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-eflo/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-12-24 Version: 1.0.16
- Supported Jumbo for HDENI and LENI.

2024-06-26 Version: 1.0.15
- Supported AssumeRoleProxyChain for CreateHighDensityElasticNetworkInterface.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-eflo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-eflo</artifactId>
<packaging>jar</packaging>
<version>1.0.15</version>
<version>1.0.16</version>
<name>aliyun-java-sdk-eflo</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class CreateElasticNetworkInterfaceRequest extends RpcAcsRequest<CreateEl

private String nodeId;

private Boolean enableJumboFrame;

private String vSwitchId;

private String vpcId;
Expand Down Expand Up @@ -86,6 +88,17 @@ public void setNodeId(String nodeId) {
}
}

public Boolean getEnableJumboFrame() {
return this.enableJumboFrame;
}

public void setEnableJumboFrame(Boolean enableJumboFrame) {
this.enableJumboFrame = enableJumboFrame;
if(enableJumboFrame != null){
putBodyParameter("EnableJumboFrame", enableJumboFrame.toString());
}
}

public String getVSwitchId() {
return this.vSwitchId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class CreateVccRequest extends RpcAcsRequest<CreateVccResponse> {

private String cenOwnerId;

private Long bgpAsn;

private Boolean accessCouldService;

private String resourceGroupId;
Expand Down Expand Up @@ -103,6 +105,17 @@ public void setCenOwnerId(String cenOwnerId) {
}
}

public Long getBgpAsn() {
return this.bgpAsn;
}

public void setBgpAsn(Long bgpAsn) {
this.bgpAsn = bgpAsn;
if(bgpAsn != null){
putBodyParameter("BgpAsn", bgpAsn.toString());
}
}

public Boolean getAccessCouldService() {
return this.accessCouldService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,12 @@ public static class Content {

private String securityGroupId;

private Boolean enableJumboFrame;

private List<PrivateIpAddress> privateIpAddresses;

private List<Ipv6Addresse> ipv6Addresses;

public String getRegionId() {
return this.regionId;
}
Expand Down Expand Up @@ -239,6 +243,14 @@ public void setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
}

public Boolean getEnableJumboFrame() {
return this.enableJumboFrame;
}

public void setEnableJumboFrame(Boolean enableJumboFrame) {
this.enableJumboFrame = enableJumboFrame;
}

public List<PrivateIpAddress> getPrivateIpAddresses() {
return this.privateIpAddresses;
}
Expand All @@ -247,6 +259,14 @@ public void setPrivateIpAddresses(List<PrivateIpAddress> privateIpAddresses) {
this.privateIpAddresses = privateIpAddresses;
}

public List<Ipv6Addresse> getIpv6Addresses() {
return this.ipv6Addresses;
}

public void setIpv6Addresses(List<Ipv6Addresse> ipv6Addresses) {
this.ipv6Addresses = ipv6Addresses;
}

public static class PrivateIpAddress {

private String elasticNetworkInterfaceId;
Expand Down Expand Up @@ -339,6 +359,99 @@ public void setMessage(String message) {
this.message = message;
}
}

public static class Ipv6Addresse {

private String elasticNetworkInterfaceId;

private String ipName;

private String ipv6Address;

private String status;

private String description;

private String message;

private String regionId;

private String gmtCreate;

private String gmtModified;

public String getElasticNetworkInterfaceId() {
return this.elasticNetworkInterfaceId;
}

public void setElasticNetworkInterfaceId(String elasticNetworkInterfaceId) {
this.elasticNetworkInterfaceId = elasticNetworkInterfaceId;
}

public String getIpName() {
return this.ipName;
}

public void setIpName(String ipName) {
this.ipName = ipName;
}

public String getIpv6Address() {
return this.ipv6Address;
}

public void setIpv6Address(String ipv6Address) {
this.ipv6Address = ipv6Address;
}

public String getStatus() {
return this.status;
}

public void setStatus(String status) {
this.status = status;
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
}

public String getMessage() {
return this.message;
}

public void setMessage(String message) {
this.message = message;
}

public String getRegionId() {
return this.regionId;
}

public void setRegionId(String regionId) {
this.regionId = regionId;
}

public String getGmtCreate() {
return this.gmtCreate;
}

public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}

public String getGmtModified() {
return this.gmtModified;
}

public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public static class Content {

private String cenOwnerId;

private String bgpAsn;

private List<ErInfo> erInfos;

private List<AliyunRouterInfoItem> aliyunRouterInfo;
Expand Down Expand Up @@ -379,6 +381,14 @@ public void setCenOwnerId(String cenOwnerId) {
this.cenOwnerId = cenOwnerId;
}

public String getBgpAsn() {
return this.bgpAsn;
}

public void setBgpAsn(String bgpAsn) {
this.bgpAsn = bgpAsn;
}

public List<ErInfo> getErInfos() {
return this.erInfos;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.eflo.model.v20220530;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class ListVccFlowInfosRequest extends RpcAcsRequest<ListVccFlowInfosResponse> {


private Long from;

private Long to;

private String vccId;

private String metricName;

private String direction;
public ListVccFlowInfosRequest() {
super("eflo", "2022-05-30", "ListVccFlowInfos", "eflo");
setMethod(MethodType.POST);
}

public Long getFrom() {
return this.from;
}

public void setFrom(Long from) {
this.from = from;
if(from != null){
putBodyParameter("From", from.toString());
}
}

public Long getTo() {
return this.to;
}

public void setTo(Long to) {
this.to = to;
if(to != null){
putBodyParameter("To", to.toString());
}
}

public String getVccId() {
return this.vccId;
}

public void setVccId(String vccId) {
this.vccId = vccId;
if(vccId != null){
putBodyParameter("VccId", vccId);
}
}

public String getMetricName() {
return this.metricName;
}

public void setMetricName(String metricName) {
this.metricName = metricName;
if(metricName != null){
putBodyParameter("MetricName", metricName);
}
}

public String getDirection() {
return this.direction;
}

public void setDirection(String direction) {
this.direction = direction;
if(direction != null){
putBodyParameter("Direction", direction);
}
}

@Override
public Class<ListVccFlowInfosResponse> getResponseClass() {
return ListVccFlowInfosResponse.class;
}

}
Loading

0 comments on commit 7f3acb0

Please sign in to comment.