com.aliyun.sdk.service.cloudapi20160701.models.CreateAppRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Alibaba Cloud CloudAPI (20160701) Async SDK for Java
// 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 CreateAppRequest} extends {@link RequestModel}
*
* CreateAppRequest
*/
public class CreateAppRequest extends Request {
@Query
@NameInMap("AppName")
@Validation(required = true)
private String appName;
@Query
@NameInMap("Description")
private String description;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private CreateAppRequest(Builder builder) {
super(builder);
this.appName = builder.appName;
this.description = builder.description;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static CreateAppRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @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 String appName;
private String description;
private String securityToken;
private Builder() {
super();
}
private Builder(CreateAppRequest request) {
super(request);
this.appName = request.appName;
this.description = request.description;
this.securityToken = request.securityToken;
}
/**
* 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 CreateAppRequest build() {
return new CreateAppRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy