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