com.databricks.sdk.service.billing.ActionConfiguration Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.billing;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
@Generated
public class ActionConfiguration {
/** Databricks action configuration ID. */
@JsonProperty("action_configuration_id")
private String actionConfigurationId;
/** The type of the action. */
@JsonProperty("action_type")
private ActionConfigurationType actionType;
/** Target for the action. For example, an email address. */
@JsonProperty("target")
private String target;
public ActionConfiguration setActionConfigurationId(String actionConfigurationId) {
this.actionConfigurationId = actionConfigurationId;
return this;
}
public String getActionConfigurationId() {
return actionConfigurationId;
}
public ActionConfiguration setActionType(ActionConfigurationType actionType) {
this.actionType = actionType;
return this;
}
public ActionConfigurationType getActionType() {
return actionType;
}
public ActionConfiguration setTarget(String target) {
this.target = target;
return this;
}
public String getTarget() {
return target;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ActionConfiguration that = (ActionConfiguration) o;
return Objects.equals(actionConfigurationId, that.actionConfigurationId)
&& Objects.equals(actionType, that.actionType)
&& Objects.equals(target, that.target);
}
@Override
public int hashCode() {
return Objects.hash(actionConfigurationId, actionType, target);
}
@Override
public String toString() {
return new ToStringer(ActionConfiguration.class)
.add("actionConfigurationId", actionConfigurationId)
.add("actionType", actionType)
.add("target", target)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy