/** * {@inheritDoc} */ @Override public NetworkSection build() { return new NetworkSection(this); }
public B fromNetworkSection(NetworkSection in) { return networks(in.getNetworks()).info(in.getInfo()); } }
@Override public Envelope apply(VAppTemplate from) { checkArgument(from.getChildren().size() == 1, "multiple vms are not supported: %s", from); checkArgument(findNetworkSectionForVAppTemplate.apply(from).getNetworks().size() == 1, "multiple network connections are not supported: %s", from); checkArgument(from.isOvfDescriptorUploaded(), "ovf descriptor is not uploaded: %s", from); Envelope ovf = getOVFForVAppTemplateAndValidate(from); return ovf; }
public Builder<?> toBuilder() { return builder().fromNetworkSection(this); }
public B fromNetworkSection(NetworkSection in) { return networks(in.getNetworks()).info(in.getInfo()); } }
@Override public Envelope apply(VAppTemplate from) { checkArgument(from.getChildren().size() == 1, "multiple vms are not supported: %s", from); checkArgument(findNetworkSectionForVAppTemplate.apply(from).getNetworks().size() == 1, "multiple network connections are not supported: %s", from); checkArgument(from.isOvfDescriptorUploaded(), "ovf descriptor is not uploaded: %s", from); Envelope ovf = getOVFForVAppTemplateAndValidate(from); return ovf; }
public Builder<?> toBuilder() { return builder().fromNetworkSection(this); }
public B fromNetworkSection(NetworkSection in) { return networks(in.getNetworks()).info(in.getInfo()); } }
/** * {@inheritDoc} */ @Override public NetworkSection build() { return new NetworkSection(this); }
public Builder<?> toBuilder() { return builder().fromNetworkSection(this); }
/** * {@inheritDoc} */ @Override public NetworkSection build() { return new NetworkSection(this); }