Class PowerAlertConfigurationOperator.PowerAlertConfigurationBuilder
java.lang.Object
com.eqixiac.equinix.ibxsmartview.model.json.creators.PowerAlertConfigurationOperator.PowerAlertConfigurationBuilder
- Enclosing class:
PowerAlertConfigurationOperator
Fluent builder for creating a power alert configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssets(String levelType, List<PowerAlertConfigurationAsset> levelAssets) addRecipient(PowerAlertRecipient recipient) create()Creates the power alert configuration and returns the UID of the newly created configuration.withAccountNo(String accountNo) withCondition(PowerAlertCondition condition) withSection(String section)
-
Constructor Details
-
PowerAlertConfigurationBuilder
protected PowerAlertConfigurationBuilder()
-
-
Method Details
-
withAccountNo
public PowerAlertConfigurationOperator.PowerAlertConfigurationBuilder withAccountNo(String accountNo) -
withIbx
-
withSection
-
withCondition
public PowerAlertConfigurationOperator.PowerAlertConfigurationBuilder withCondition(PowerAlertCondition condition) -
addRecipient
public PowerAlertConfigurationOperator.PowerAlertConfigurationBuilder addRecipient(PowerAlertRecipient recipient) -
addAssets
public PowerAlertConfigurationOperator.PowerAlertConfigurationBuilder addAssets(String levelType, List<PowerAlertConfigurationAsset> levelAssets) -
create
Creates the power alert configuration and returns the UID of the newly created configuration.- Returns:
- the
alertConfigurationUidof the created configuration
-