com.aliyun.sdk.service.ess20220222.models.DeleteScheduledTaskRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ess20220222 Show documentation
Show all versions of alibabacloud-ess20220222 Show documentation
Alibaba Cloud Ess (20220222) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ess20220222.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteScheduledTaskRequest} extends {@link RequestModel}
*
* DeleteScheduledTaskRequest
*/
public class DeleteScheduledTaskRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ScheduledTaskId")
@com.aliyun.core.annotation.Validation(required = true)
private String scheduledTaskId;
private DeleteScheduledTaskRequest(Builder builder) {
super(builder);
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.scheduledTaskId = builder.scheduledTaskId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteScheduledTaskRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return scheduledTaskId
*/
public String getScheduledTaskId() {
return this.scheduledTaskId;
}
public static final class Builder extends Request.Builder {
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private String scheduledTaskId;
private Builder() {
super();
}
private Builder(DeleteScheduledTaskRequest request) {
super(request);
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.scheduledTaskId = request.scheduledTaskId;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* The region ID of the scheduled task.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* The ID of the scheduled task. An ID is a globally unique identifier (GUID) that is generated by the system for a scheduled task.
*/
public Builder scheduledTaskId(String scheduledTaskId) {
this.putQueryParameter("ScheduledTaskId", scheduledTaskId);
this.scheduledTaskId = scheduledTaskId;
return this;
}
@Override
public DeleteScheduledTaskRequest build() {
return new DeleteScheduledTaskRequest(this);
}
}
}