Class Option
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.container.hardware.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 Price
itemPrice
Provides hourly and monthly costs (if either are applicable), and a description of the option.protected boolean
itemPriceSpecified
protected Preset
preset
Provides a description of a fixed configuration preset with monthly and hourly costs.protected boolean
presetSpecified
protected Hardware
template
Provides a fragment of the request with the properties and values that must be sent when creating a server 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 Price
getItemPrice()
Preset
getPreset()
Hardware
getTemplate()
boolean
isItemPriceSpecified()
boolean
isPresetSpecified()
boolean
isTemplateSpecified()
void
setItemPrice(Price itemPrice)
void
setPreset(Preset preset)
void
setTemplate(Hardware template)
void
unsetItemPrice()
void
unsetPreset()
void
unsetTemplate()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
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
-
preset
@ApiProperty(canBeNullOrNotSet=true) protected Preset preset
Provides a description of a fixed configuration preset with monthly and hourly costs.
-
presetSpecified
protected boolean presetSpecified
-
template
@ApiProperty(canBeNullOrNotSet=true) protected Hardware template
Provides a fragment of the request with the properties and values that must be sent when creating a server with the option.
-
templateSpecified
protected boolean templateSpecified
-
-
Method Detail
-
getItemPrice
public Price getItemPrice()
-
setItemPrice
public void setItemPrice(Price itemPrice)
-
isItemPriceSpecified
public boolean isItemPriceSpecified()
-
unsetItemPrice
public void unsetItemPrice()
-
getPreset
public Preset getPreset()
-
setPreset
public void setPreset(Preset preset)
-
isPresetSpecified
public boolean isPresetSpecified()
-
unsetPreset
public void unsetPreset()
-
getTemplate
public Hardware getTemplate()
-
setTemplate
public void setTemplate(Hardware template)
-
isTemplateSpecified
public boolean isTemplateSpecified()
-
unsetTemplate
public void unsetTemplate()
-
-