com.aliyun.sdk.service.fc_open20210406.models.DeleteCustomDomainRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-fc_open20210406 Show documentation
Show all versions of alibabacloud-fc_open20210406 Show documentation
Alibaba Cloud FC-Open (20210406) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.fc_open20210406.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteCustomDomainRequest} extends {@link RequestModel}
*
* DeleteCustomDomainRequest
*/
public class DeleteCustomDomainRequest extends Request {
@Path
@NameInMap("domainName")
@Validation(required = true)
private String domainName;
@Header
@NameInMap("X-Fc-Account-Id")
private String xFcAccountId;
@Header
@NameInMap("X-Fc-Date")
private String xFcDate;
@Header
@NameInMap("X-Fc-Trace-Id")
private String xFcTraceId;
private DeleteCustomDomainRequest(Builder builder) {
super(builder);
this.domainName = builder.domainName;
this.xFcAccountId = builder.xFcAccountId;
this.xFcDate = builder.xFcDate;
this.xFcTraceId = builder.xFcTraceId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCustomDomainRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return xFcAccountId
*/
public String getXFcAccountId() {
return this.xFcAccountId;
}
/**
* @return xFcDate
*/
public String getXFcDate() {
return this.xFcDate;
}
/**
* @return xFcTraceId
*/
public String getXFcTraceId() {
return this.xFcTraceId;
}
public static final class Builder extends Request.Builder {
private String domainName;
private String xFcAccountId;
private String xFcDate;
private String xFcTraceId;
private Builder() {
super();
}
private Builder(DeleteCustomDomainRequest request) {
super(request);
this.domainName = request.domainName;
this.xFcAccountId = request.xFcAccountId;
this.xFcDate = request.xFcDate;
this.xFcTraceId = request.xFcTraceId;
}
/**
* 域名名称
*/
public Builder domainName(String domainName) {
this.putPathParameter("domainName", domainName);
this.domainName = domainName;
return this;
}
/**
* X-Fc-Account-Id.
*/
public Builder xFcAccountId(String xFcAccountId) {
this.putHeaderParameter("X-Fc-Account-Id", xFcAccountId);
this.xFcAccountId = xFcAccountId;
return this;
}
/**
* X-Fc-Date.
*/
public Builder xFcDate(String xFcDate) {
this.putHeaderParameter("X-Fc-Date", xFcDate);
this.xFcDate = xFcDate;
return this;
}
/**
* X-Fc-Trace-Id.
*/
public Builder xFcTraceId(String xFcTraceId) {
this.putHeaderParameter("X-Fc-Trace-Id", xFcTraceId);
this.xFcTraceId = xFcTraceId;
return this;
}
@Override
public DeleteCustomDomainRequest build() {
return new DeleteCustomDomainRequest(this);
}
}
}