Class RuleSet
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.RuleSet
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleSet.Builder,RuleSet>
@Generated("software.amazon.awssdk:codegen") public final class RuleSet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleSet.Builder,RuleSet>
A rule set contains a list of rules that are evaluated in order. Each rule is evaluated sequentially for each email.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleSet.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModificationDate()The last modification date of the rule set.StringruleSetId()The identifier of the rule set.StringruleSetName()A user-friendly name for the rule set.List<SdkField<?>>sdkFields()static Class<? extends RuleSet.Builder>serializableBuilderClass()RuleSet.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
-
lastModificationDate
public final Instant lastModificationDate()
The last modification date of the rule set.
- Returns:
- The last modification date of the rule set.
-
ruleSetId
public final String ruleSetId()
The identifier of the rule set.
- Returns:
- The identifier of the rule set.
-
ruleSetName
public final String ruleSetName()
A user-friendly name for the rule set.
- Returns:
- A user-friendly name for the rule set.
-
toBuilder
public RuleSet.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleSet.Builder,RuleSet>
-
builder
public static RuleSet.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleSet.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.
-
-