public class RampUpRule extends Object
Constructor and Description |
---|
RampUpRule() |
Modifier and Type | Method and Description |
---|---|
String |
actionHostName()
Get hostname of a slot to which the traffic will be redirected if decided to.
|
String |
changeDecisionCallbackUrl()
Get custom decision algorithm can be provided in TiPCallback site extension which URL can be specified.
|
Integer |
changeIntervalInMinutes()
Get specifies interval in minutes to reevaluate ReroutePercentage.
|
Double |
changeStep()
Get in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches
<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>.
|
Double |
maxReroutePercentage()
Get specifies upper boundary below which ReroutePercentage will stay.
|
Double |
minReroutePercentage()
Get specifies lower boundary above which ReroutePercentage will stay.
|
String |
name()
Get name of the routing rule.
|
Double |
reroutePercentage()
Get percentage of the traffic which will be redirected to <code>ActionHostName</code>.
|
RampUpRule |
withActionHostName(String actionHostName)
Set hostname of a slot to which the traffic will be redirected if decided to.
|
RampUpRule |
withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)
Set custom decision algorithm can be provided in TiPCallback site extension which URL can be specified.
|
RampUpRule |
withChangeIntervalInMinutes(Integer changeIntervalInMinutes)
Set specifies interval in minutes to reevaluate ReroutePercentage.
|
RampUpRule |
withChangeStep(Double changeStep)
Set in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches
<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>.
|
RampUpRule |
withMaxReroutePercentage(Double maxReroutePercentage)
Set specifies upper boundary below which ReroutePercentage will stay.
|
RampUpRule |
withMinReroutePercentage(Double minReroutePercentage)
Set specifies lower boundary above which ReroutePercentage will stay.
|
RampUpRule |
withName(String name)
Set name of the routing rule.
|
RampUpRule |
withReroutePercentage(Double reroutePercentage)
Set percentage of the traffic which will be redirected to <code>ActionHostName</code>.
|
public String actionHostName()
public RampUpRule withActionHostName(String actionHostName)
actionHostName
- the actionHostName value to setpublic Double reroutePercentage()
public RampUpRule withReroutePercentage(Double reroutePercentage)
reroutePercentage
- the reroutePercentage value to setpublic Double changeStep()
public RampUpRule withChangeStep(Double changeStep)
changeStep
- the changeStep value to setpublic Integer changeIntervalInMinutes()
public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes)
changeIntervalInMinutes
- the changeIntervalInMinutes value to setpublic Double minReroutePercentage()
public RampUpRule withMinReroutePercentage(Double minReroutePercentage)
minReroutePercentage
- the minReroutePercentage value to setpublic Double maxReroutePercentage()
public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage)
maxReroutePercentage
- the maxReroutePercentage value to setpublic String changeDecisionCallbackUrl()
public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)
changeDecisionCallbackUrl
- the changeDecisionCallbackUrl value to setpublic String name()
public RampUpRule withName(String name)
name
- the name value to setCopyright © 2019. All rights reserved.