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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeRegionsRequest Maven / Gradle / Ivy

There is a newer version: 3.0.23
Show newest version
// 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 DescribeRegionsRequest} extends {@link RequestModel}
 *
 * 

DescribeRegionsRequest

*/ public class DescribeRegionsRequest extends Request { @Query @NameInMap("Language") private String language; @Query @NameInMap("SecurityToken") private String securityToken; private DescribeRegionsRequest(Builder builder) { super(builder); this.language = builder.language; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeRegionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return language */ public String getLanguage() { return this.language; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private String language; private String securityToken; private Builder() { super(); } private Builder(DescribeRegionsRequest request) { super(request); this.language = request.language; this.securityToken = request.securityToken; } /** * Language. */ public Builder language(String language) { this.putQueryParameter("Language", language); this.language = language; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeRegionsRequest build() { return new DescribeRegionsRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy