@Generated(value="software.amazon.awssdk:codegen") public final class AssertionRuleUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssertionRuleUpdate.Builder,AssertionRuleUpdate>
An update to an assertion 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 |
AssertionRuleUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssertionRuleUpdate.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 of the assertion rule.
|
String |
safetyRuleArn()
The Amazon Resource Name (ARN) of the assertion rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssertionRuleUpdate.Builder> |
serializableBuilderClass() |
AssertionRuleUpdate.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 of the assertion rule. You can use any non-white space character in the name.
public final String safetyRuleArn()
The Amazon Resource Name (ARN) of the assertion 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 AssertionRuleUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssertionRuleUpdate.Builder,AssertionRuleUpdate>public static AssertionRuleUpdate.Builder builder()
public static Class<? extends AssertionRuleUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.