com.softlayer.api.service.virtual.guest.SupplementalCreateObjectOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.virtual.guest;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Virtual_Guest_SupplementalCreateObjectOptions
*/
@ApiType("SoftLayer_Virtual_Guest_SupplementalCreateObjectOptions")
public class SupplementalCreateObjectOptions extends Entity {
/**
* When explicitly set to true, createObject(s) will fail unless the order is started automatically. This can be used by automated systems to fail an order that might otherwise require manual approval. For multi-guest orders via [[SoftLayer_Virtual_Guest/createObjects|createObjects]], this value must be the exact same for every item.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean immediateApprovalOnlyFlag;
public Boolean getImmediateApprovalOnlyFlag() {
return immediateApprovalOnlyFlag;
}
public void setImmediateApprovalOnlyFlag(Boolean immediateApprovalOnlyFlag) {
immediateApprovalOnlyFlagSpecified = true;
this.immediateApprovalOnlyFlag = immediateApprovalOnlyFlag;
}
protected boolean immediateApprovalOnlyFlagSpecified;
public boolean isImmediateApprovalOnlyFlagSpecified() {
return immediateApprovalOnlyFlagSpecified;
}
public void unsetImmediateApprovalOnlyFlag() {
immediateApprovalOnlyFlag = null;
immediateApprovalOnlyFlagSpecified = false;
}
/**
* URI of the script to be downloaded and executed after installation is complete. This can be different for each virtual guest when multiple are sent to [[SoftLayer_Virtual_Guest/createObjects|createObjects]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String postInstallScriptUri;
public String getPostInstallScriptUri() {
return postInstallScriptUri;
}
public void setPostInstallScriptUri(String postInstallScriptUri) {
postInstallScriptUriSpecified = true;
this.postInstallScriptUri = postInstallScriptUri;
}
protected boolean postInstallScriptUriSpecified;
public boolean isPostInstallScriptUriSpecified() {
return postInstallScriptUriSpecified;
}
public void unsetPostInstallScriptUri() {
postInstallScriptUri = null;
postInstallScriptUriSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask immediateApprovalOnlyFlag() {
withLocalProperty("immediateApprovalOnlyFlag");
return this;
}
public Mask postInstallScriptUri() {
withLocalProperty("postInstallScriptUri");
return this;
}
}
}