io.github.microcks.operator.api.base.v1alpha1.AmazonServiceConnectionSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.base.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class AmazonServiceConnectionSpecBuilder extends AmazonServiceConnectionSpecFluent implements VisitableBuilder{
public AmazonServiceConnectionSpecBuilder() {
this(new AmazonServiceConnectionSpec());
}
public AmazonServiceConnectionSpecBuilder(AmazonServiceConnectionSpecFluent> fluent) {
this(fluent, new AmazonServiceConnectionSpec());
}
public AmazonServiceConnectionSpecBuilder(AmazonServiceConnectionSpecFluent> fluent,AmazonServiceConnectionSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public AmazonServiceConnectionSpecBuilder(AmazonServiceConnectionSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
AmazonServiceConnectionSpecFluent> fluent;
public AmazonServiceConnectionSpec build() {
AmazonServiceConnectionSpec buildable = new AmazonServiceConnectionSpec();
buildable.setRegion(fluent.getRegion());
buildable.setCredentialsType(fluent.getCredentialsType());
buildable.setCredentialsProfile(fluent.getCredentialsProfile());
buildable.setCredentialsSecretRef(fluent.buildCredentialsSecretRef());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy