Class AssertionRuleUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.route53recoverycontrolconfig.model.AssertionRuleUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssertionRuleUpdate.Builder,AssertionRuleUpdate>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssertionRuleUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssertionRuleUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the assertion rule.StringsafetyRuleArn()The Amazon Resource Name (ARN) of the assertion rule.List<SdkField<?>>sdkFields()static Class<? extends AssertionRuleUpdate.Builder>serializableBuilderClass()AssertionRuleUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerwaitPeriodMs()An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the assertion rule. You can use any non-white space character in the name.
- Returns:
- The name of the assertion rule. You can use any non-white space character in the name.
-
safetyRuleArn
public final String safetyRuleArn()
The Amazon Resource Name (ARN) of the assertion rule.
- Returns:
- The Amazon Resource Name (ARN) of the assertion rule.
-
waitPeriodMs
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.
- Returns:
- 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.
-
toBuilder
public AssertionRuleUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssertionRuleUpdate.Builder,AssertionRuleUpdate>
-
builder
public static AssertionRuleUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssertionRuleUpdate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-