Class Recommendation
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.Recommendation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Recommendation.Builder,Recommendation>
@Generated("software.amazon.awssdk:codegen") public final class Recommendation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Recommendation.Builder,Recommendation>
A recommendation generated for your account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecommendation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Recommendation.Builderbuilder()InstantcreatedTimestamp()The first time this issue was encountered and the recommendation was generated.Stringdescription()The recommendation description / disambiguator - e.g.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RecommendationImpactimpact()The recommendation impact, with values likeHIGHorLOW.StringimpactAsString()The recommendation impact, with values likeHIGHorLOW.InstantlastUpdatedTimestamp()The last time the recommendation was updated.StringresourceArn()The resource affected by the recommendation, with values likearn:aws:ses:us-east-1:123456789012:identity/example.com.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Recommendation.Builder>serializableBuilderClass()RecommendationStatusstatus()The recommendation status, with values likeOPENorFIXED.StringstatusAsString()The recommendation status, with values likeOPENorFIXED.Recommendation.BuildertoBuilder()StringtoString()Returns a string representation of this object.RecommendationTypetype()The recommendation type, with values likeDKIM,SPF,DMARC,BIMI, orCOMPLAINT.StringtypeAsString()The recommendation type, with values likeDKIM,SPF,DMARC,BIMI, orCOMPLAINT.-
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
-
resourceArn
public final String resourceArn()
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com.- Returns:
- The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com.
-
type
public final RecommendationType type()
The recommendation type, with values like
DKIM,SPF,DMARC,BIMI, orCOMPLAINT.If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The recommendation type, with values like
DKIM,SPF,DMARC,BIMI, orCOMPLAINT. - See Also:
RecommendationType
-
typeAsString
public final String typeAsString()
The recommendation type, with values like
DKIM,SPF,DMARC,BIMI, orCOMPLAINT.If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The recommendation type, with values like
DKIM,SPF,DMARC,BIMI, orCOMPLAINT. - See Also:
RecommendationType
-
description
public final String description()
The recommendation description / disambiguator - e.g.
DKIM1andDKIM2are different recommendations about your DKIM setup.- Returns:
- The recommendation description / disambiguator - e.g.
DKIM1andDKIM2are different recommendations about your DKIM setup.
-
status
public final RecommendationStatus status()
The recommendation status, with values like
OPENorFIXED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The recommendation status, with values like
OPENorFIXED. - See Also:
RecommendationStatus
-
statusAsString
public final String statusAsString()
The recommendation status, with values like
OPENorFIXED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The recommendation status, with values like
OPENorFIXED. - See Also:
RecommendationStatus
-
createdTimestamp
public final Instant createdTimestamp()
The first time this issue was encountered and the recommendation was generated.
- Returns:
- The first time this issue was encountered and the recommendation was generated.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The last time the recommendation was updated.
- Returns:
- The last time the recommendation was updated.
-
impact
public final RecommendationImpact impact()
The recommendation impact, with values like
HIGHorLOW.If the service returns an enum value that is not available in the current SDK version,
impactwill returnRecommendationImpact.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimpactAsString().- Returns:
- The recommendation impact, with values like
HIGHorLOW. - See Also:
RecommendationImpact
-
impactAsString
public final String impactAsString()
The recommendation impact, with values like
HIGHorLOW.If the service returns an enum value that is not available in the current SDK version,
impactwill returnRecommendationImpact.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimpactAsString().- Returns:
- The recommendation impact, with values like
HIGHorLOW. - See Also:
RecommendationImpact
-
toBuilder
public Recommendation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Recommendation.Builder,Recommendation>
-
builder
public static Recommendation.Builder builder()
-
serializableBuilderClass
public static Class<? extends Recommendation.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-