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

com.aliyun.sdk.service.bpstudio20210931.models.GetTemplateRequest Maven / Gradle / Ivy

There is a newer version: 5.0.6
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.bpstudio20210931.models;

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

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

GetTemplateRequest

*/ public class GetTemplateRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TemplateId") @com.aliyun.core.annotation.Validation(required = true) private String templateId; private GetTemplateRequest(Builder builder) { super(builder); this.region = builder.region; this.resourceGroupId = builder.resourceGroupId; this.templateId = builder.templateId; } public static Builder builder() { return new Builder(); } public static GetTemplateRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return region */ public String getRegion() { return this.region; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return templateId */ public String getTemplateId() { return this.templateId; } public static final class Builder extends Request.Builder { private String region; private String resourceGroupId; private String templateId; private Builder() { super(); } private Builder(GetTemplateRequest request) { super(request); this.region = request.region; this.resourceGroupId = request.resourceGroupId; this.templateId = request.templateId; } /** * Template Area */ public Builder region(String region) { this.putBodyParameter("Region", region); this.region = region; return this; } /** * ResourceGroup ID */ public Builder resourceGroupId(String resourceGroupId) { this.putBodyParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * Template ID */ public Builder templateId(String templateId) { this.putBodyParameter("TemplateId", templateId); this.templateId = templateId; return this; } @Override public GetTemplateRequest build() { return new GetTemplateRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy