
org.jclouds.azurecompute.arm.domain.AutoValue_Certificate_LifetimeAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
The newest version!
package org.jclouds.azurecompute.arm.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Certificate_LifetimeAction extends Certificate.LifetimeAction {
private final Certificate.LifetimeActionAction action;
private final Certificate.LifetimeActionTrigger trigger;
AutoValue_Certificate_LifetimeAction(
Certificate.LifetimeActionAction action,
Certificate.LifetimeActionTrigger trigger) {
if (action == null) {
throw new NullPointerException("Null action");
}
this.action = action;
if (trigger == null) {
throw new NullPointerException("Null trigger");
}
this.trigger = trigger;
}
@Override
public Certificate.LifetimeActionAction action() {
return action;
}
@Override
public Certificate.LifetimeActionTrigger trigger() {
return trigger;
}
@Override
public String toString() {
return "LifetimeAction{"
+ "action=" + action + ", "
+ "trigger=" + trigger
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Certificate.LifetimeAction) {
Certificate.LifetimeAction that = (Certificate.LifetimeAction) o;
return (this.action.equals(that.action()))
&& (this.trigger.equals(that.trigger()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.action.hashCode();
h *= 1000003;
h ^= this.trigger.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy