Class RuleUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.vpclattice.model.RuleUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
@Generated("software.amazon.awssdk:codegen") public final class RuleUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
Represents an object when updating a rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleActionaction()The rule action.static RuleUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RuleMatchmatch()The rule match.Integerpriority()The rule priority.StringruleIdentifier()The ID or Amazon Resource Name (ARN) of the rule.List<SdkField<?>>sdkFields()static Class<? extends RuleUpdate.Builder>serializableBuilderClass()RuleUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
action
public final RuleAction action()
The rule action.
- Returns:
- The rule action.
-
match
public final RuleMatch match()
The rule match.
- Returns:
- The rule match.
-
priority
public final Integer priority()
The rule priority. A listener can't have multiple rules with the same priority.
- Returns:
- The rule priority. A listener can't have multiple rules with the same priority.
-
ruleIdentifier
public final String ruleIdentifier()
The ID or Amazon Resource Name (ARN) of the rule.
- Returns:
- The ID or Amazon Resource Name (ARN) of the rule.
-
toBuilder
public RuleUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
-
builder
public static RuleUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleUpdate.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.
-
-