Class Recommendation
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Recommendation.Builder,
Recommendation>
A recommendation generated for your account.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Recommendation.Builder
builder()
final Instant
The first time this issue was encountered and the recommendation was generated.final String
The recommendation description / disambiguator - e.g.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final RecommendationImpact
impact()
The recommendation impact, with values likeHIGH
orLOW
.final String
The recommendation impact, with values likeHIGH
orLOW
.final Instant
The last time the recommendation was updated.final String
The resource affected by the recommendation, with values likearn:aws:ses:us-east-1:123456789012:identity/example.com
.static Class
<? extends Recommendation.Builder> final RecommendationStatus
status()
The recommendation status, with values likeOPEN
orFIXED
.final String
The recommendation status, with values likeOPEN
orFIXED
.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final RecommendationType
type()
The recommendation type, with values likeDKIM
,SPF
,DMARC
orBIMI
.final String
The recommendation type, with values likeDKIM
,SPF
,DMARC
orBIMI
.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The recommendation type, with values like
DKIM
,SPF
,DMARC
orBIMI
.If the service returns an enum value that is not available in the current SDK version,
type
will 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
orBIMI
. - See Also:
-
typeAsString
The recommendation type, with values like
DKIM
,SPF
,DMARC
orBIMI
.If the service returns an enum value that is not available in the current SDK version,
type
will 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
orBIMI
. - See Also:
-
description
The recommendation description / disambiguator - e.g.
DKIM1
andDKIM2
are different recommendations about your DKIM setup.- Returns:
- The recommendation description / disambiguator - e.g.
DKIM1
andDKIM2
are different recommendations about your DKIM setup.
-
status
The recommendation status, with values like
OPEN
orFIXED
.If the service returns an enum value that is not available in the current SDK version,
status
will returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The recommendation status, with values like
OPEN
orFIXED
. - See Also:
-
statusAsString
The recommendation status, with values like
OPEN
orFIXED
.If the service returns an enum value that is not available in the current SDK version,
status
will returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The recommendation status, with values like
OPEN
orFIXED
. - See Also:
-
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
The last time the recommendation was updated.
- Returns:
- The last time the recommendation was updated.
-
impact
The recommendation impact, with values like
HIGH
orLOW
.If the service returns an enum value that is not available in the current SDK version,
impact
will returnRecommendationImpact.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromimpactAsString()
.- Returns:
- The recommendation impact, with values like
HIGH
orLOW
. - See Also:
-
impactAsString
The recommendation impact, with values like
HIGH
orLOW
.If the service returns an enum value that is not available in the current SDK version,
impact
will returnRecommendationImpact.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromimpactAsString()
.- Returns:
- The recommendation impact, with values like
HIGH
orLOW
. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Recommendation.Builder,
Recommendation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-