com.aliyun.sdk.service.cloudapi20160714.models.DeleteBackendModelRequest 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 DeleteBackendModelRequest} extends {@link RequestModel}
*
* DeleteBackendModelRequest
*/
public class DeleteBackendModelRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendId")
private String backendId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendModelId")
@com.aliyun.core.annotation.Validation(required = true)
private String backendModelId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StageName")
private String stageName;
private DeleteBackendModelRequest(Builder builder) {
super(builder);
this.backendId = builder.backendId;
this.backendModelId = builder.backendModelId;
this.securityToken = builder.securityToken;
this.stageName = builder.stageName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBackendModelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backendId
*/
public String getBackendId() {
return this.backendId;
}
/**
* @return backendModelId
*/
public String getBackendModelId() {
return this.backendModelId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return stageName
*/
public String getStageName() {
return this.stageName;
}
public static final class Builder extends Request.Builder {
private String backendId;
private String backendModelId;
private String securityToken;
private String stageName;
private Builder() {
super();
}
private Builder(DeleteBackendModelRequest request) {
super(request);
this.backendId = request.backendId;
this.backendModelId = request.backendModelId;
this.securityToken = request.securityToken;
this.stageName = request.stageName;
}
/**
* The ID of the backend service.
*
* example:
* 20bcdc9453524b78a8beb1f6de21edb7
*/
public Builder backendId(String backendId) {
this.putQueryParameter("BackendId", backendId);
this.backendId = backendId;
return this;
}
/**
* The ID of the backend model.
* This parameter is required.
*
* example:
* 4be6b110b7aa40b0bf0c83cc00b3bd86
*/
public Builder backendModelId(String backendModelId) {
this.putQueryParameter("BackendModelId", backendModelId);
this.backendModelId = backendModelId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* The name of the runtime environment. Valid values:
*
* - RELEASE
* - PRE
* - TEST
*
*
* example:
* TEST
*/
public Builder stageName(String stageName) {
this.putQueryParameter("StageName", stageName);
this.stageName = stageName;
return this;
}
@Override
public DeleteBackendModelRequest build() {
return new DeleteBackendModelRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy