
org.jclouds.azurecompute.arm.domain.AutoValue_Certificate_CertificatePolicy 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 java.util.List;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Certificate_CertificatePolicy extends Certificate.CertificatePolicy {
private final Certificate.CertificateAttributes attributes;
private final String id;
private final Certificate.IssuerParameters issuer;
private final Certificate.KeyProperties keyProps;
private final List lifetimeActions;
private final Certificate.SecretProperties secretProps;
private final Certificate.X509CertificateProperties x509props;
AutoValue_Certificate_CertificatePolicy(
@Nullable Certificate.CertificateAttributes attributes,
@Nullable String id,
@Nullable Certificate.IssuerParameters issuer,
@Nullable Certificate.KeyProperties keyProps,
List lifetimeActions,
@Nullable Certificate.SecretProperties secretProps,
@Nullable Certificate.X509CertificateProperties x509props) {
this.attributes = attributes;
this.id = id;
this.issuer = issuer;
this.keyProps = keyProps;
if (lifetimeActions == null) {
throw new NullPointerException("Null lifetimeActions");
}
this.lifetimeActions = lifetimeActions;
this.secretProps = secretProps;
this.x509props = x509props;
}
@Nullable
@Override
public Certificate.CertificateAttributes attributes() {
return attributes;
}
@Nullable
@Override
public String id() {
return id;
}
@Nullable
@Override
public Certificate.IssuerParameters issuer() {
return issuer;
}
@Nullable
@Override
public Certificate.KeyProperties keyProps() {
return keyProps;
}
@Override
public List lifetimeActions() {
return lifetimeActions;
}
@Nullable
@Override
public Certificate.SecretProperties secretProps() {
return secretProps;
}
@Nullable
@Override
public Certificate.X509CertificateProperties x509props() {
return x509props;
}
@Override
public String toString() {
return "CertificatePolicy{"
+ "attributes=" + attributes + ", "
+ "id=" + id + ", "
+ "issuer=" + issuer + ", "
+ "keyProps=" + keyProps + ", "
+ "lifetimeActions=" + lifetimeActions + ", "
+ "secretProps=" + secretProps + ", "
+ "x509props=" + x509props
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Certificate.CertificatePolicy) {
Certificate.CertificatePolicy that = (Certificate.CertificatePolicy) o;
return ((this.attributes == null) ? (that.attributes() == null) : this.attributes.equals(that.attributes()))
&& ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
&& ((this.issuer == null) ? (that.issuer() == null) : this.issuer.equals(that.issuer()))
&& ((this.keyProps == null) ? (that.keyProps() == null) : this.keyProps.equals(that.keyProps()))
&& (this.lifetimeActions.equals(that.lifetimeActions()))
&& ((this.secretProps == null) ? (that.secretProps() == null) : this.secretProps.equals(that.secretProps()))
&& ((this.x509props == null) ? (that.x509props() == null) : this.x509props.equals(that.x509props()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (attributes == null) ? 0 : this.attributes.hashCode();
h *= 1000003;
h ^= (id == null) ? 0 : this.id.hashCode();
h *= 1000003;
h ^= (issuer == null) ? 0 : this.issuer.hashCode();
h *= 1000003;
h ^= (keyProps == null) ? 0 : this.keyProps.hashCode();
h *= 1000003;
h ^= this.lifetimeActions.hashCode();
h *= 1000003;
h ^= (secretProps == null) ? 0 : this.secretProps.hashCode();
h *= 1000003;
h ^= (x509props == null) ? 0 : this.x509props.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy