com.instaclustr.cassandra.sidecar.operations.decommission.DecommissionOperationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cassandra-sidecar Show documentation
Show all versions of cassandra-sidecar Show documentation
Sidecar for Apache Cassandra
package com.instaclustr.cassandra.sidecar.operations.decommission;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;
import com.instaclustr.operations.OperationRequest;
public class DecommissionOperationRequest extends OperationRequest {
public Boolean force;
public DecommissionOperationRequest(final Boolean force) {
this("decommission", force);
}
@JsonCreator
public DecommissionOperationRequest(@JsonProperty("type") final String type,
@JsonProperty("force") final Boolean force) {
this.force = force;
this.type = type;
}
@Override
public String toString() {
return MoreObjects.toStringHelper(this)
.add("force", force)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy