com.aliyun.sdk.service.cloudapi20160714.models.AssociateInstanceWithPrivateDNSRequest 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 AssociateInstanceWithPrivateDNSRequest} extends {@link RequestModel}
*
* AssociateInstanceWithPrivateDNSRequest
*/
public class AssociateInstanceWithPrivateDNSRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("IntranetDomains")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List intranetDomains;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
private AssociateInstanceWithPrivateDNSRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.intranetDomains = builder.intranetDomains;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static AssociateInstanceWithPrivateDNSRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return intranetDomains
*/
public java.util.List getIntranetDomains() {
return this.intranetDomains;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private String instanceId;
private java.util.List intranetDomains;
private String securityToken;
private Builder() {
super();
}
private Builder(AssociateInstanceWithPrivateDNSRequest request) {
super(request);
this.instanceId = request.instanceId;
this.intranetDomains = request.intranetDomains;
this.securityToken = request.securityToken;
}
/**
* The instance ID.
* This parameter is required.
*
* example:
* apigateway-hz-ead4f4b0bac8
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* The internal domain names included in the resolution.
* This parameter is required.
*/
public Builder intranetDomains(java.util.List intranetDomains) {
String intranetDomainsShrink = shrink(intranetDomains, "IntranetDomains", "json");
this.putBodyParameter("IntranetDomains", intranetDomainsShrink);
this.intranetDomains = intranetDomains;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public AssociateInstanceWithPrivateDNSRequest build() {
return new AssociateInstanceWithPrivateDNSRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy