@Generated(value="software.amazon.awssdk:codegen") public final class Recommendation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Recommendation.Builder,Recommendation>
A recommendation generated for your account.
Modifier and Type | Class and Description |
---|---|
static interface |
Recommendation.Builder |
Modifier and Type | Method and Description |
---|---|
static Recommendation.Builder |
builder() |
Instant |
createdTimestamp()
The first time this issue was encountered and the recommendation was generated.
|
String |
description()
The recommendation description / disambiguator - e.g.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RecommendationImpact |
impact()
The recommendation impact, with values like
HIGH or LOW . |
String |
impactAsString()
The recommendation impact, with values like
HIGH or LOW . |
Instant |
lastUpdatedTimestamp()
The last time the recommendation was updated.
|
String |
resourceArn()
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com . |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Recommendation.Builder> |
serializableBuilderClass() |
RecommendationStatus |
status()
The recommendation status, with values like
OPEN or FIXED . |
String |
statusAsString()
The recommendation status, with values like
OPEN or FIXED . |
Recommendation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RecommendationType |
type()
The recommendation type, with values like
DKIM , SPF or DMARC . |
String |
typeAsString()
The recommendation type, with values like
DKIM , SPF or DMARC . |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String resourceArn()
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
arn:aws:ses:us-east-1:123456789012:identity/example.com
.public final RecommendationType type()
The recommendation type, with values like DKIM
, SPF
or DMARC
.
If the service returns an enum value that is not available in the current SDK version, type
will return
RecommendationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DKIM
, SPF
or DMARC
.RecommendationType
public final String typeAsString()
The recommendation type, with values like DKIM
, SPF
or DMARC
.
If the service returns an enum value that is not available in the current SDK version, type
will return
RecommendationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DKIM
, SPF
or DMARC
.RecommendationType
public final String description()
The recommendation description / disambiguator - e.g. DKIM1
and DKIM2
are different
recommendations about your DKIM setup.
DKIM1
and DKIM2
are
different recommendations about your DKIM setup.public final RecommendationStatus status()
The recommendation status, with values like OPEN
or FIXED
.
If the service returns an enum value that is not available in the current SDK version, status
will
return RecommendationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
OPEN
or FIXED
.RecommendationStatus
public final String statusAsString()
The recommendation status, with values like OPEN
or FIXED
.
If the service returns an enum value that is not available in the current SDK version, status
will
return RecommendationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
OPEN
or FIXED
.RecommendationStatus
public final Instant createdTimestamp()
The first time this issue was encountered and the recommendation was generated.
public final Instant lastUpdatedTimestamp()
The last time the recommendation was updated.
public final RecommendationImpact impact()
The recommendation impact, with values like HIGH
or LOW
.
If the service returns an enum value that is not available in the current SDK version, impact
will
return RecommendationImpact.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from impactAsString()
.
HIGH
or LOW
.RecommendationImpact
public final String impactAsString()
The recommendation impact, with values like HIGH
or LOW
.
If the service returns an enum value that is not available in the current SDK version, impact
will
return RecommendationImpact.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from impactAsString()
.
HIGH
or LOW
.RecommendationImpact
public Recommendation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Recommendation.Builder,Recommendation>
public static Recommendation.Builder builder()
public static Class<? extends Recommendation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.