com.aliyun.sdk.service.ens20171110.models.StopSnatIpForSnatEntryRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link StopSnatIpForSnatEntryRequest} extends {@link RequestModel}
*
* StopSnatIpForSnatEntryRequest
*/
public class StopSnatIpForSnatEntryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SnatEntryId")
@com.aliyun.core.annotation.Validation(required = true)
private String snatEntryId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SnatIp")
@com.aliyun.core.annotation.Validation(required = true)
private String snatIp;
private StopSnatIpForSnatEntryRequest(Builder builder) {
super(builder);
this.snatEntryId = builder.snatEntryId;
this.snatIp = builder.snatIp;
}
public static Builder builder() {
return new Builder();
}
public static StopSnatIpForSnatEntryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return snatEntryId
*/
public String getSnatEntryId() {
return this.snatEntryId;
}
/**
* @return snatIp
*/
public String getSnatIp() {
return this.snatIp;
}
public static final class Builder extends Request.Builder {
private String snatEntryId;
private String snatIp;
private Builder() {
super();
}
private Builder(StopSnatIpForSnatEntryRequest request) {
super(request);
this.snatEntryId = request.snatEntryId;
this.snatIp = request.snatIp;
}
/**
* The ID of the SNAT entry.
* This parameter is required.
*
* example:
* snat-5tfi6f8gds82mjmlofeym****
*/
public Builder snatEntryId(String snatEntryId) {
this.putQueryParameter("SnatEntryId", snatEntryId);
this.snatEntryId = snatEntryId;
return this;
}
/**
* The EIP specified in the SNAT entry.
* This parameter is required.
*
* example:
* 221.178.103.143
*/
public Builder snatIp(String snatIp) {
this.putQueryParameter("SnatIp", snatIp);
this.snatIp = snatIp;
return this;
}
@Override
public StopSnatIpForSnatEntryRequest build() {
return new StopSnatIpForSnatEntryRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy