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

com.aliyun.sdk.service.cloudapi20160701.models.CreateApiGroupRequest Maven / Gradle / Ivy

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

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

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

CreateApiGroupRequest

*/ public class CreateApiGroupRequest extends Request { @Query @NameInMap("Description") private String description; @Query @NameInMap("GroupName") @Validation(required = true) private String groupName; @Query @NameInMap("InstanceId") private String instanceId; @Query @NameInMap("SecurityToken") private String securityToken; private CreateApiGroupRequest(Builder builder) { super(builder); this.description = builder.description; this.groupName = builder.groupName; this.instanceId = builder.instanceId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static CreateApiGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private String description; private String groupName; private String instanceId; private String securityToken; private Builder() { super(); } private Builder(CreateApiGroupRequest request) { super(request); this.description = request.description; this.groupName = request.groupName; this.instanceId = request.instanceId; this.securityToken = request.securityToken; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * GroupName. */ public Builder groupName(String groupName) { this.putQueryParameter("GroupName", groupName); this.groupName = groupName; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public CreateApiGroupRequest build() { return new CreateApiGroupRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy