com.aliyun.sdk.service.cs20151215.models.DeleteTemplateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cs20151215 Show documentation
Show all versions of alibabacloud-cs20151215 Show documentation
Alibaba Cloud CS (20151215) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteTemplateRequest} extends {@link RequestModel}
*
* DeleteTemplateRequest
*/
public class DeleteTemplateRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("TemplateId")
@com.aliyun.core.annotation.Validation(required = true)
private String templateId;
private DeleteTemplateRequest(Builder builder) {
super(builder);
this.templateId = builder.templateId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteTemplateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return templateId
*/
public String getTemplateId() {
return this.templateId;
}
public static final class Builder extends Request.Builder {
private String templateId;
private Builder() {
super();
}
private Builder(DeleteTemplateRequest request) {
super(request);
this.templateId = request.templateId;
}
/**
* The ID of the orchestration template.
*/
public Builder templateId(String templateId) {
this.putPathParameter("TemplateId", templateId);
this.templateId = templateId;
return this;
}
@Override
public DeleteTemplateRequest build() {
return new DeleteTemplateRequest(this);
}
}
}