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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GatingRuleUpdate.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name for the gating rule.final StringThe Amazon Resource Name (ARN) of the gating rule.static Class<? extends GatingRuleUpdate.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerAn evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The Amazon Resource Name (ARN) of the gating rule.
- Returns:
- The Amazon Resource Name (ARN) of the gating rule.
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GatingRuleUpdate.Builder,GatingRuleUpdate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-