io.fabric8.openshift.api.model.machine.v1.AWSFailureDomainPlacementBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machine.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class AWSFailureDomainPlacementBuilder extends AWSFailureDomainPlacementFluent implements VisitableBuilder{
public AWSFailureDomainPlacementBuilder() {
this(new AWSFailureDomainPlacement());
}
public AWSFailureDomainPlacementBuilder(AWSFailureDomainPlacementFluent> fluent) {
this(fluent, new AWSFailureDomainPlacement());
}
public AWSFailureDomainPlacementBuilder(AWSFailureDomainPlacementFluent> fluent,AWSFailureDomainPlacement instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public AWSFailureDomainPlacementBuilder(AWSFailureDomainPlacement instance) {
this.fluent = this;
this.copyInstance(instance);
}
AWSFailureDomainPlacementFluent> fluent;
public AWSFailureDomainPlacement build() {
AWSFailureDomainPlacement buildable = new AWSFailureDomainPlacement(fluent.getAvailabilityZone());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy