
org.jclouds.googlecloudstorage.domain.AutoValue_Bucket_LifeCycle 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.googlecloudstorage.domain;
import java.util.List;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Bucket_LifeCycle extends Bucket.LifeCycle {
private final List rules;
AutoValue_Bucket_LifeCycle(
List rules) {
if (rules == null) {
throw new NullPointerException("Null rules");
}
this.rules = rules;
}
@Override
public List rules() {
return rules;
}
@Override
public String toString() {
return "LifeCycle{"
+ "rules=" + rules
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Bucket.LifeCycle) {
Bucket.LifeCycle that = (Bucket.LifeCycle) o;
return (this.rules.equals(that.rules()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.rules.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy