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

com.aliyun.sdk.service.cloudapi20160701.models.ModifyAppRequest 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 ModifyAppRequest} extends {@link RequestModel}
 *
 * 

ModifyAppRequest

*/ public class ModifyAppRequest extends Request { @Query @NameInMap("AppId") @Validation(required = true) private Long appId; @Query @NameInMap("AppName") private String appName; @Query @NameInMap("Description") private String description; @Query @NameInMap("SecurityToken") private String securityToken; private ModifyAppRequest(Builder builder) { super(builder); this.appId = builder.appId; this.appName = builder.appName; this.description = builder.description; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static ModifyAppRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public Long getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private Long appId; private String appName; private String description; private String securityToken; private Builder() { super(); } private Builder(ModifyAppRequest request) { super(request); this.appId = request.appId; this.appName = request.appName; this.description = request.description; this.securityToken = request.securityToken; } /** * AppId. */ public Builder appId(Long appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.putQueryParameter("AppName", appName); this.appName = appName; return this; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public ModifyAppRequest build() { return new ModifyAppRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy