Class RuleVerdictToEvaluate
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.RuleVerdictToEvaluate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleVerdictToEvaluate.Builder,RuleVerdictToEvaluate>
@Generated("software.amazon.awssdk:codegen") public final class RuleVerdictToEvaluate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleVerdictToEvaluate.Builder,RuleVerdictToEvaluate>
The verdict to evaluate in a verdict condition expression.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleVerdictToEvaluate.Builderstatic classRuleVerdictToEvaluate.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Analysisanalysis()The Add On ARN and its returned value to evaluate in a verdict condition expression.RuleVerdictAttributeattribute()The email verdict attribute to evaluate in a string verdict expression.StringattributeAsString()The email verdict attribute to evaluate in a string verdict expression.static RuleVerdictToEvaluate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static RuleVerdictToEvaluatefromAnalysis(Consumer<Analysis.Builder> analysis)Create an instance of this class withanalysis()initialized to the given value.static RuleVerdictToEvaluatefromAnalysis(Analysis analysis)Create an instance of this class withanalysis()initialized to the given value.static RuleVerdictToEvaluatefromAttribute(String attribute)Create an instance of this class withattributeAsString()initialized to the given value.static RuleVerdictToEvaluatefromAttribute(RuleVerdictAttribute attribute)Create an instance of this class withattributeAsString()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RuleVerdictToEvaluate.Builder>serializableBuilderClass()RuleVerdictToEvaluate.BuildertoBuilder()StringtoString()Returns a string representation of this object.RuleVerdictToEvaluate.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
analysis
public final Analysis analysis()
The Add On ARN and its returned value to evaluate in a verdict condition expression.
- Returns:
- The Add On ARN and its returned value to evaluate in a verdict condition expression.
-
attribute
public final RuleVerdictAttribute attribute()
The email verdict attribute to evaluate in a string verdict expression.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnRuleVerdictAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- The email verdict attribute to evaluate in a string verdict expression.
- See Also:
RuleVerdictAttribute
-
attributeAsString
public final String attributeAsString()
The email verdict attribute to evaluate in a string verdict expression.
If the service returns an enum value that is not available in the current SDK version,
attributewill returnRuleVerdictAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattributeAsString().- Returns:
- The email verdict attribute to evaluate in a string verdict expression.
- See Also:
RuleVerdictAttribute
-
toBuilder
public RuleVerdictToEvaluate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleVerdictToEvaluate.Builder,RuleVerdictToEvaluate>
-
builder
public static RuleVerdictToEvaluate.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleVerdictToEvaluate.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.
-
fromAnalysis
public static RuleVerdictToEvaluate fromAnalysis(Analysis analysis)
Create an instance of this class withanalysis()initialized to the given value.The Add On ARN and its returned value to evaluate in a verdict condition expression.
- Parameters:
analysis- The Add On ARN and its returned value to evaluate in a verdict condition expression.
-
fromAnalysis
public static RuleVerdictToEvaluate fromAnalysis(Consumer<Analysis.Builder> analysis)
Create an instance of this class withanalysis()initialized to the given value.The Add On ARN and its returned value to evaluate in a verdict condition expression.
- Parameters:
analysis- The Add On ARN and its returned value to evaluate in a verdict condition expression.
-
fromAttribute
public static RuleVerdictToEvaluate fromAttribute(String attribute)
Create an instance of this class withattributeAsString()initialized to the given value.The email verdict attribute to evaluate in a string verdict expression.
- Parameters:
attribute- The email verdict attribute to evaluate in a string verdict expression.- See Also:
RuleVerdictAttribute
-
fromAttribute
public static RuleVerdictToEvaluate fromAttribute(RuleVerdictAttribute attribute)
Create an instance of this class withattributeAsString()initialized to the given value.The email verdict attribute to evaluate in a string verdict expression.
- Parameters:
attribute- The email verdict attribute to evaluate in a string verdict expression.- See Also:
RuleVerdictAttribute
-
type
public RuleVerdictToEvaluate.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beRuleVerdictToEvaluate.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beRuleVerdictToEvaluate.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-