com.aliyun.sdk.service.cloudapi20160714.models.DeleteDomainRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-cloudapi20160714 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteDomainRequest} extends {@link RequestModel}
*
* DeleteDomainRequest
*/
public class DeleteDomainRequest extends Request {
@Query
@NameInMap("DomainName")
@Validation(required = true)
private String domainName;
@Query
@NameInMap("GroupId")
@Validation(required = true)
private String groupId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DeleteDomainRequest(Builder builder) {
super(builder);
this.domainName = builder.domainName;
this.groupId = builder.groupId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDomainRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return groupId
*/
public String getGroupId() {
return this.groupId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private String domainName;
private String groupId;
private String securityToken;
private Builder() {
super();
}
private Builder(DeleteDomainRequest request) {
super(request);
this.domainName = request.domainName;
this.groupId = request.groupId;
this.securityToken = request.securityToken;
}
/**
* * This operation is intended for API providers.
*
* * If the specified domain name does not exist, a successful response will still appear.
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
*/
public Builder domainName(String domainName) {
this.putQueryParameter("DomainName", domainName);
this.domainName = domainName;
return this;
}
/**
* The ID of the request.
*/
public Builder groupId(String groupId) {
this.putQueryParameter("GroupId", groupId);
this.groupId = groupId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DeleteDomainRequest build() {
return new DeleteDomainRequest(this);
}
}
}