All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.virtual.guest.SupplementalCreateObjectOptions Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy