com.aliyun.sdk.service.cloudapi20160714.models.DeleteApiProductRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteApiProductRequest} extends {@link RequestModel}
*
* DeleteApiProductRequest
*/
public class DeleteApiProductRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ApiProductId")
@com.aliyun.core.annotation.Validation(required = true)
private String apiProductId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SecurityToken")
private String securityToken;
private DeleteApiProductRequest(Builder builder) {
super(builder);
this.apiProductId = builder.apiProductId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DeleteApiProductRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiProductId
*/
public String getApiProductId() {
return this.apiProductId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private String apiProductId;
private String securityToken;
private Builder() {
super();
}
private Builder(DeleteApiProductRequest request) {
super(request);
this.apiProductId = request.apiProductId;
this.securityToken = request.securityToken;
}
/**
* The ID of the API product.
* This parameter is required.
*
* example:
* 117b7a64a8b3f064eaa4a47ac62aac5e
*/
public Builder apiProductId(String apiProductId) {
this.putQueryParameter("ApiProductId", apiProductId);
this.apiProductId = apiProductId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DeleteApiProductRequest build() {
return new DeleteApiProductRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy