AutoscaleProfileInner Class

Definition

Autoscale profile.

public final class AutoscaleProfileInner
Inheritance
java.lang.Object
AutoscaleProfileInner

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

AutoscaleProfileInner()

Methods

capacity()

Get the capacity property: the number of instances that can be used during this profile.

fixedDate()

Get the fixedDate property: the specific date-time for the profile. This element is not used if the Recurrence element is used.

name()

Get the name property: the name of the profile.

recurrence()

Get the recurrence property: the repeating times at which this profile begins. This element is not used if the FixedDate element is used.

rules()

Get the rules property: the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.

validate()

Validates the instance.

withCapacity(ScaleCapacity capacity)

Set the capacity property: the number of instances that can be used during this profile.

withFixedDate(TimeWindow fixedDate)

Set the fixedDate property: the specific date-time for the profile. This element is not used if the Recurrence element is used.

withName(String name)

Set the name property: the name of the profile.

withRecurrence(Recurrence recurrence)

Set the recurrence property: the repeating times at which this profile begins. This element is not used if the FixedDate element is used.

withRules(List<ScaleRuleInner> rules)

Set the rules property: the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified.

Applies to