com.aliyun.sdk.service.cloudapi20160701.models.DeleteAppRequest 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 DeleteAppRequest} extends {@link RequestModel}
*
* DeleteAppRequest
*/
public class DeleteAppRequest extends Request {
@Query
@NameInMap("AppId")
@Validation(required = true)
private Long appId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DeleteAppRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAppRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public Long getAppId() {
return this.appId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private Long appId;
private String securityToken;
private Builder() {
super();
}
private Builder(DeleteAppRequest request) {
super(request);
this.appId = request.appId;
this.securityToken = request.securityToken;
}
/**
* AppId.
*/
public Builder appId(Long appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DeleteAppRequest build() {
return new DeleteAppRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy