@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommendation extends Object implements Serializable, Cloneable, StructuredPojo
A recommendation generated for your account.
Constructor and Description |
---|
Recommendation() |
Modifier and Type | Method and Description |
---|---|
Recommendation |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The first time this issue was encountered and the recommendation was generated.
|
String |
getDescription()
The recommendation description / disambiguator - e.g.
|
String |
getImpact()
The recommendation impact, with values like
HIGH or LOW . |
Date |
getLastUpdatedTimestamp()
The last time the recommendation was updated.
|
String |
getResourceArn()
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com . |
String |
getStatus()
The recommendation status, with values like
OPEN or FIXED . |
String |
getType()
The recommendation type, with values like
DKIM , SPF , DMARC or
BIMI . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTimestamp(Date createdTimestamp)
The first time this issue was encountered and the recommendation was generated.
|
void |
setDescription(String description)
The recommendation description / disambiguator - e.g.
|
void |
setImpact(String impact)
The recommendation impact, with values like
HIGH or LOW . |
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The last time the recommendation was updated.
|
void |
setResourceArn(String resourceArn)
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com . |
void |
setStatus(String status)
The recommendation status, with values like
OPEN or FIXED . |
void |
setType(String type)
The recommendation type, with values like
DKIM , SPF , DMARC or
BIMI . |
String |
toString()
Returns a string representation of this object.
|
Recommendation |
withCreatedTimestamp(Date createdTimestamp)
The first time this issue was encountered and the recommendation was generated.
|
Recommendation |
withDescription(String description)
The recommendation description / disambiguator - e.g.
|
Recommendation |
withImpact(RecommendationImpact impact)
The recommendation impact, with values like
HIGH or LOW . |
Recommendation |
withImpact(String impact)
The recommendation impact, with values like
HIGH or LOW . |
Recommendation |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The last time the recommendation was updated.
|
Recommendation |
withResourceArn(String resourceArn)
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com . |
Recommendation |
withStatus(RecommendationStatus status)
The recommendation status, with values like
OPEN or FIXED . |
Recommendation |
withStatus(String status)
The recommendation status, with values like
OPEN or FIXED . |
Recommendation |
withType(RecommendationType type)
The recommendation type, with values like
DKIM , SPF , DMARC or
BIMI . |
Recommendation |
withType(String type)
The recommendation type, with values like
DKIM , SPF , DMARC or
BIMI . |
public void setResourceArn(String resourceArn)
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
resourceArn
- The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com
.public String getResourceArn()
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 Recommendation withResourceArn(String resourceArn)
The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
resourceArn
- The resource affected by the recommendation, with values like
arn:aws:ses:us-east-1:123456789012:identity/example.com
.public void setType(String type)
The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.
type
- The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.RecommendationType
public String getType()
The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.
DKIM
, SPF
, DMARC
or
BIMI
.RecommendationType
public Recommendation withType(String type)
The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.
type
- The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.RecommendationType
public Recommendation withType(RecommendationType type)
The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.
type
- The recommendation type, with values like DKIM
, SPF
, DMARC
or
BIMI
.RecommendationType
public void setDescription(String description)
The recommendation description / disambiguator - e.g. DKIM1
and DKIM2
are different
recommendations about your DKIM setup.
description
- The recommendation description / disambiguator - e.g. DKIM1
and DKIM2
are
different recommendations about your DKIM setup.public String getDescription()
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 Recommendation withDescription(String description)
The recommendation description / disambiguator - e.g. DKIM1
and DKIM2
are different
recommendations about your DKIM setup.
description
- The recommendation description / disambiguator - e.g. DKIM1
and DKIM2
are
different recommendations about your DKIM setup.public void setStatus(String status)
The recommendation status, with values like OPEN
or FIXED
.
status
- The recommendation status, with values like OPEN
or FIXED
.RecommendationStatus
public String getStatus()
The recommendation status, with values like OPEN
or FIXED
.
OPEN
or FIXED
.RecommendationStatus
public Recommendation withStatus(String status)
The recommendation status, with values like OPEN
or FIXED
.
status
- The recommendation status, with values like OPEN
or FIXED
.RecommendationStatus
public Recommendation withStatus(RecommendationStatus status)
The recommendation status, with values like OPEN
or FIXED
.
status
- The recommendation status, with values like OPEN
or FIXED
.RecommendationStatus
public void setCreatedTimestamp(Date createdTimestamp)
The first time this issue was encountered and the recommendation was generated.
createdTimestamp
- The first time this issue was encountered and the recommendation was generated.public Date getCreatedTimestamp()
The first time this issue was encountered and the recommendation was generated.
public Recommendation withCreatedTimestamp(Date createdTimestamp)
The first time this issue was encountered and the recommendation was generated.
createdTimestamp
- The first time this issue was encountered and the recommendation was generated.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The last time the recommendation was updated.
lastUpdatedTimestamp
- The last time the recommendation was updated.public Date getLastUpdatedTimestamp()
The last time the recommendation was updated.
public Recommendation withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The last time the recommendation was updated.
lastUpdatedTimestamp
- The last time the recommendation was updated.public void setImpact(String impact)
The recommendation impact, with values like HIGH
or LOW
.
impact
- The recommendation impact, with values like HIGH
or LOW
.RecommendationImpact
public String getImpact()
The recommendation impact, with values like HIGH
or LOW
.
HIGH
or LOW
.RecommendationImpact
public Recommendation withImpact(String impact)
The recommendation impact, with values like HIGH
or LOW
.
impact
- The recommendation impact, with values like HIGH
or LOW
.RecommendationImpact
public Recommendation withImpact(RecommendationImpact impact)
The recommendation impact, with values like HIGH
or LOW
.
impact
- The recommendation impact, with values like HIGH
or LOW
.RecommendationImpact
public String toString()
toString
in class Object
Object.toString()
public Recommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.