protected DeploymentImpl createFluentModel(String name) { return new DeploymentImpl( new DeploymentExtendedInner().withName(name), this.resourceManager); }
@Override public DeploymentImpl withMode(DeploymentMode mode) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withMode(mode); return this; }
@Override public String correlationId() { if (this.inner().properties() == null) { return null; } return this.inner().properties().correlationId(); }
@Override public String id() { return inner().id(); } }
@Override public String name() { return this.inner().name(); }
@Override public DeploymentImpl withParameters(Object parameters) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withParameters(parameters); this.inner().properties().withParametersLink(null); return this; }
@Override public ParametersLink parametersLink() { if (this.inner().properties() == null) { return null; } return this.inner().properties().parametersLink(); }
@Override public String id() { return inner().id(); } }
@Override public String name() { return this.inner().name(); }
@Override public DeploymentImpl withMode(DeploymentMode mode) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withMode(mode); return this; }
@Override public DateTime timestamp() { if (this.inner().properties() == null) { return null; } return this.inner().properties().timestamp(); }
protected DeploymentImpl createFluentModel(String name) { return new DeploymentImpl( new DeploymentExtendedInner().withName(name), this.resourceManager); }
@Override public boolean isInCreateMode() { return this.inner().id() == null; }
@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 Object parameters() { if (this.inner().properties() == null) { return null; } return this.inner().properties().parameters(); }
@Override public boolean isInCreateMode() { return this.inner().id() == null; }
@Override public DeploymentImpl withParameters(Object parameters) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withParameters(parameters); this.inner().properties().withParametersLink(null); return this; }
@Override public Object outputs() { if (this.inner().properties() == null) { return null; } return this.inner().properties().outputs(); }