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

com.aliyun.sdk.service.dm20170622.models.CheckDomainDnsRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dm20170622.models;

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

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

CheckDomainDnsRequest

*/ public class CheckDomainDnsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainId") @com.aliyun.core.annotation.Validation(required = true) private Integer domainId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private CheckDomainDnsRequest(Builder builder) { super(builder); this.domainId = builder.domainId; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static CheckDomainDnsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainId */ public Integer getDomainId() { return this.domainId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder { private Integer domainId; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String type; private Builder() { super(); } private Builder(CheckDomainDnsRequest request) { super(request); this.domainId = request.domainId; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.type = request.type; } /** * DomainId. */ public Builder domainId(Integer domainId) { this.putQueryParameter("DomainId", domainId); this.domainId = domainId; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; 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; } /** * Type. */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public CheckDomainDnsRequest build() { return new CheckDomainDnsRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy