Class GatingRuleUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.route53recoverycontrolconfig.model.GatingRuleUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGatingRuleUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GatingRuleUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name for the gating rule.StringsafetyRuleArn()The Amazon Resource Name (ARN) of the gating rule.List<SdkField<?>>sdkFields()static Class<? extends GatingRuleUpdate.Builder>serializableBuilderClass()GatingRuleUpdate.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 for the gating rule. You can use any non-white space character in the name.
- Returns:
- The name for the gating rule. You can use any non-white space character in the name.
-
safetyRuleArn
public final String safetyRuleArn()
The Amazon Resource Name (ARN) of the gating rule.
- Returns:
- The Amazon Resource Name (ARN) of the gating 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 GatingRuleUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate>
-
builder
public static GatingRuleUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends GatingRuleUpdate.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.
-
-