com.aliyun.sdk.service.cs20151215.models.DeleteTriggerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cs20151215 Show documentation
Show all versions of alibabacloud-cs20151215 Show documentation
Alibaba Cloud CS (20151215) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteTriggerRequest} extends {@link RequestModel}
*
* DeleteTriggerRequest
*/
public class DeleteTriggerRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("cluster_id")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("Id")
@com.aliyun.core.annotation.Validation(required = true)
private String id;
private DeleteTriggerRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.id = builder.id;
}
public static Builder builder() {
return new Builder();
}
public static DeleteTriggerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private String id;
private Builder() {
super();
}
private Builder(DeleteTriggerRequest request) {
super(request);
this.clusterId = request.clusterId;
this.id = request.id;
}
/**
* The cluster ID.
*/
public Builder clusterId(String clusterId) {
this.putPathParameter("cluster_id", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The trigger ID.
*/
public Builder id(String id) {
this.putPathParameter("Id", id);
this.id = id;
return this;
}
@Override
public DeleteTriggerRequest build() {
return new DeleteTriggerRequest(this);
}
}
}