io.fabric8.certmanager.api.model.v1.PKCS12KeystoreBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.certmanager.api.model.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PKCS12KeystoreBuilder extends PKCS12KeystoreFluent implements VisitableBuilder{
public PKCS12KeystoreBuilder() {
this(new PKCS12Keystore());
}
public PKCS12KeystoreBuilder(PKCS12KeystoreFluent> fluent) {
this(fluent, new PKCS12Keystore());
}
public PKCS12KeystoreBuilder(PKCS12KeystoreFluent> fluent,PKCS12Keystore instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PKCS12KeystoreBuilder(PKCS12Keystore instance) {
this.fluent = this;
this.copyInstance(instance);
}
PKCS12KeystoreFluent> fluent;
public PKCS12Keystore build() {
PKCS12Keystore buildable = new PKCS12Keystore(fluent.getCreate(),fluent.buildPasswordSecretRef(),fluent.getProfile());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy