@Generated(value="software.amazon.awssdk:codegen") public final class GatingRuleUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>
Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GatingRuleUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GatingRuleUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name for the gating rule.
|
String |
safetyRuleArn()
The Amazon Resource Name (ARN) of the gating rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GatingRuleUpdate.Builder> |
serializableBuilderClass() |
GatingRuleUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
waitPeriodMs()
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will
fail.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name for the gating rule. You can use any non-white space character in the name.
public final String safetyRuleArn()
The Amazon Resource Name (ARN) of the gating rule.
public final Integer waitPeriodMs()
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
public GatingRuleUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>public static GatingRuleUpdate.Builder builder()
public static Class<? extends GatingRuleUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.