Class Option
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.virtual.guest.configuration.Option
@ApiType("SoftLayer_Container_Virtual_Guest_Configuration_Option") public class Option extends Entity
An option found within a [[SoftLayer_Container_Virtual_Guest_Configuration (type)]] structure.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Option.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Preset
flavor
Provides a description of a pre-defined configuration with monthly and hourly costs.protected boolean
flavorSpecified
protected Price
itemPrice
Provides hourly and monthly costs (if either are applicable), and a description of the option.protected boolean
itemPriceSpecified
protected Guest
template
Provides a fragment of the request with the properties and values that must be sent when creating a computing instance with the option.protected boolean
templateSpecified
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
Modifier and Type Method Description Preset
getFlavor()
Price
getItemPrice()
Guest
getTemplate()
boolean
isFlavorSpecified()
boolean
isItemPriceSpecified()
boolean
isTemplateSpecified()
void
setFlavor(Preset flavor)
void
setItemPrice(Price itemPrice)
void
setTemplate(Guest template)
void
unsetFlavor()
void
unsetItemPrice()
void
unsetTemplate()
-
Field Details
-
flavor
Provides a description of a pre-defined configuration with monthly and hourly costs. -
flavorSpecified
protected boolean flavorSpecified -
itemPrice
Provides hourly and monthly costs (if either are applicable), and a description of the option. -
itemPriceSpecified
protected boolean itemPriceSpecified -
template
Provides a fragment of the request with the properties and values that must be sent when creating a computing instance with the option. -
templateSpecified
protected boolean templateSpecified
-
-
Constructor Details
-
Option
public Option()
-
-
Method Details
-
getFlavor
-
setFlavor
-
isFlavorSpecified
public boolean isFlavorSpecified() -
unsetFlavor
public void unsetFlavor() -
getItemPrice
-
setItemPrice
-
isItemPriceSpecified
public boolean isItemPriceSpecified() -
unsetItemPrice
public void unsetItemPrice() -
getTemplate
-
setTemplate
-
isTemplateSpecified
public boolean isTemplateSpecified() -
unsetTemplate
public void unsetTemplate()
-