com.aliyun.sdk.service.ecs20140526.models.ModifyForwardEntryRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
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 {
@Query
@NameInMap("ExternalIp")
private String externalIp;
@Query
@NameInMap("ExternalPort")
private String externalPort;
@Query
@NameInMap("ForwardEntryId")
@Validation(required = true)
private String forwardEntryId;
@Query
@NameInMap("ForwardTableId")
@Validation(required = true)
private String forwardTableId;
@Query
@NameInMap("InternalIp")
private String internalIp;
@Query
@NameInMap("InternalPort")
private String internalPort;
@Query
@NameInMap("IpProtocol")
private String ipProtocol;
@Query
@NameInMap("OwnerAccount")
private String ownerAccount;
@Query
@NameInMap("OwnerId")
private Long ownerId;
@Query
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@Query
@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;
}
/**
* ForwardEntryId.
*/
public Builder forwardEntryId(String forwardEntryId) {
this.putQueryParameter("ForwardEntryId", forwardEntryId);
this.forwardEntryId = forwardEntryId;
return this;
}
/**
* ForwardTableId.
*/
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;
}
/**
* RegionId.
*/
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