com.aliyun.sdk.service.cloudapi20160714.models.DeletePrivateDNSRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.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 DeletePrivateDNSRequest} extends {@link RequestModel}
*
* DeletePrivateDNSRequest
*/
public class DeletePrivateDNSRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private Boolean force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IntranetDomain")
@com.aliyun.core.annotation.Validation(required = true)
private String intranetDomain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Type")
@com.aliyun.core.annotation.Validation(required = true)
private String type;
private DeletePrivateDNSRequest(Builder builder) {
super(builder);
this.force = builder.force;
this.intranetDomain = builder.intranetDomain;
this.securityToken = builder.securityToken;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DeletePrivateDNSRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return intranetDomain
*/
public String getIntranetDomain() {
return this.intranetDomain;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder {
private Boolean force;
private String intranetDomain;
private String securityToken;
private String type;
private Builder() {
super();
}
private Builder(DeletePrivateDNSRequest request) {
super(request);
this.force = request.force;
this.intranetDomain = request.intranetDomain;
this.securityToken = request.securityToken;
this.type = request.type;
}
/**
* Specifies whether to force delete the resolution.
*
* - true: force deletes the resolution if the resolution is associated with an instance.
* - false: does not force delete the resolution if the resolution is associated with an instance.
*
*
* example:
* false
*/
public Builder force(Boolean force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* The internal domain name.
* This parameter is required.
*
* example:
* api.demo.com
*/
public Builder intranetDomain(String intranetDomain) {
this.putQueryParameter("IntranetDomain", intranetDomain);
this.intranetDomain = intranetDomain;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* The internal domain name resolution type. Valid values:
*
* - VPC: resolution for virtual private cloud (VPC) access authorizations. A resolution of this type can be bound only to traditional dedicated instances.
* - A: resolution that supports A records. A resolution of this type can be bound only to VPC integration dedicated instances.
*
* This parameter is required.
*
* example:
* A
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DeletePrivateDNSRequest build() {
return new DeletePrivateDNSRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy