Class Option
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.container.virtual.guest.configuration.Option
-
-
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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
flavor
@ApiProperty(canBeNullOrNotSet=true) protected Preset flavor
Provides a description of a pre-defined configuration with monthly and hourly costs.
-
flavorSpecified
protected boolean flavorSpecified
-
itemPrice
@ApiProperty(canBeNullOrNotSet=true) protected Price itemPrice
Provides hourly and monthly costs (if either are applicable), and a description of the option.
-
itemPriceSpecified
protected boolean itemPriceSpecified
-
template
@ApiProperty(canBeNullOrNotSet=true) 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.
-
templateSpecified
protected boolean templateSpecified
-
-
Method Detail
-
getFlavor
public Preset getFlavor()
-
setFlavor
public void setFlavor(Preset flavor)
-
isFlavorSpecified
public boolean isFlavorSpecified()
-
unsetFlavor
public void unsetFlavor()
-
getItemPrice
public Price getItemPrice()
-
setItemPrice
public void setItemPrice(Price itemPrice)
-
isItemPriceSpecified
public boolean isItemPriceSpecified()
-
unsetItemPrice
public void unsetItemPrice()
-
getTemplate
public Guest getTemplate()
-
setTemplate
public void setTemplate(Guest template)
-
isTemplateSpecified
public boolean isTemplateSpecified()
-
unsetTemplate
public void unsetTemplate()
-
-