All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ecs20140526.models.ModifyForwardEntryRequest Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link ModifyForwardEntryRequest} extends {@link RequestModel}
 *
 * 

ModifyForwardEntryRequest

*/ public class ModifyForwardEntryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExternalIp") private String externalIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ExternalPort") private String externalPort; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ForwardEntryId") @com.aliyun.core.annotation.Validation(required = true) private String forwardEntryId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ForwardTableId") @com.aliyun.core.annotation.Validation(required = true) private String forwardTableId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternalIp") private String internalIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternalPort") private String internalPort; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IpProtocol") private String ipProtocol; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private ModifyForwardEntryRequest(Builder builder) { super(builder); this.externalIp = builder.externalIp; this.externalPort = builder.externalPort; this.forwardEntryId = builder.forwardEntryId; this.forwardTableId = builder.forwardTableId; this.internalIp = builder.internalIp; this.internalPort = builder.internalPort; this.ipProtocol = builder.ipProtocol; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static ModifyForwardEntryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return externalIp */ public String getExternalIp() { return this.externalIp; } /** * @return externalPort */ public String getExternalPort() { return this.externalPort; } /** * @return forwardEntryId */ public String getForwardEntryId() { return this.forwardEntryId; } /** * @return forwardTableId */ public String getForwardTableId() { return this.forwardTableId; } /** * @return internalIp */ public String getInternalIp() { return this.internalIp; } /** * @return internalPort */ public String getInternalPort() { return this.internalPort; } /** * @return ipProtocol */ public String getIpProtocol() { return this.ipProtocol; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder { private String externalIp; private String externalPort; private String forwardEntryId; private String forwardTableId; private String internalIp; private String internalPort; private String ipProtocol; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(ModifyForwardEntryRequest request) { super(request); this.externalIp = request.externalIp; this.externalPort = request.externalPort; this.forwardEntryId = request.forwardEntryId; this.forwardTableId = request.forwardTableId; this.internalIp = request.internalIp; this.internalPort = request.internalPort; this.ipProtocol = request.ipProtocol; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * ExternalIp. */ public Builder externalIp(String externalIp) { this.putQueryParameter("ExternalIp", externalIp); this.externalIp = externalIp; return this; } /** * ExternalPort. */ public Builder externalPort(String externalPort) { this.putQueryParameter("ExternalPort", externalPort); this.externalPort = externalPort; return this; } /** *

This parameter is required.

*/ public Builder forwardEntryId(String forwardEntryId) { this.putQueryParameter("ForwardEntryId", forwardEntryId); this.forwardEntryId = forwardEntryId; return this; } /** *

This parameter is required.

*/ public Builder forwardTableId(String forwardTableId) { this.putQueryParameter("ForwardTableId", forwardTableId); this.forwardTableId = forwardTableId; return this; } /** * InternalIp. */ public Builder internalIp(String internalIp) { this.putQueryParameter("InternalIp", internalIp); this.internalIp = internalIp; return this; } /** * InternalPort. */ public Builder internalPort(String internalPort) { this.putQueryParameter("InternalPort", internalPort); this.internalPort = internalPort; return this; } /** * IpProtocol. */ public Builder ipProtocol(String ipProtocol) { this.putQueryParameter("IpProtocol", ipProtocol); this.ipProtocol = ipProtocol; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** *

This parameter is required.

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public ModifyForwardEntryRequest build() { return new ModifyForwardEntryRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy