com.aliyun.sdk.service.cloudapi20160714.models.DeleteDatasetItemRequest 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
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteDatasetItemRequest} extends {@link RequestModel}
*
* DeleteDatasetItemRequest
*/
public class DeleteDatasetItemRequest extends Request {
@Query
@NameInMap("DatasetId")
@Validation(required = true)
private String datasetId;
@Query
@NameInMap("DatasetItemId")
@Validation(required = true)
private String datasetItemId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DeleteDatasetItemRequest(Builder builder) {
super(builder);
this.datasetId = builder.datasetId;
this.datasetItemId = builder.datasetItemId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDatasetItemRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return datasetId
*/
public String getDatasetId() {
return this.datasetId;
}
/**
* @return datasetItemId
*/
public String getDatasetItemId() {
return this.datasetItemId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private String datasetId;
private String datasetItemId;
private String securityToken;
private Builder() {
super();
}
private Builder(DeleteDatasetItemRequest request) {
super(request);
this.datasetId = request.datasetId;
this.datasetItemId = request.datasetItemId;
this.securityToken = request.securityToken;
}
/**
* DatasetId.
*/
public Builder datasetId(String datasetId) {
this.putQueryParameter("DatasetId", datasetId);
this.datasetId = datasetId;
return this;
}
/**
* DatasetItemId.
*/
public Builder datasetItemId(String datasetItemId) {
this.putQueryParameter("DatasetItemId", datasetItemId);
this.datasetItemId = datasetItemId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DeleteDatasetItemRequest build() {
return new DeleteDatasetItemRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy