@Override public DeploymentImpl withTemplate(Object template) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplate(template); this.inner().properties().withTemplateLink(null); return this; }
@Override public DeploymentImpl withTemplate(Object template) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplate(template); this.inner().properties().withTemplateLink(null); return this; }
@Override public DeploymentImpl withTemplateLink(String uri, String contentVersion) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplateLink(new TemplateLink().withUri(uri).withContentVersion(contentVersion)); this.inner().properties().withTemplate(null); return this; }
@Override public DeploymentImpl withTemplateLink(String uri, String contentVersion) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplateLink(new TemplateLink().withUri(uri).withContentVersion(contentVersion)); this.inner().properties().withTemplate(null); return this; }