@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendedAction extends Object implements Serializable, Cloneable
The recommended actions to apply to resolve the issues associated with your DB instances, DB clusters, and DB parameter groups.
Constructor and Description |
---|
RecommendedAction() |
Modifier and Type | Method and Description |
---|---|
RecommendedAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The unique identifier of the recommended action.
|
List<String> |
getApplyModes()
The methods to apply the recommended action.
|
List<ContextAttribute> |
getContextAttributes()
The supporting attributes to explain the recommended action.
|
String |
getDescription()
A detailed description of the action.
|
IssueDetails |
getIssueDetails()
The details of the issue.
|
String |
getOperation()
An API operation for the action.
|
List<RecommendedActionParameter> |
getParameters()
The parameters for the API operation.
|
String |
getStatus()
The status of the action.
|
String |
getTitle()
A short description to summarize the action.
|
int |
hashCode() |
void |
setActionId(String actionId)
The unique identifier of the recommended action.
|
void |
setApplyModes(Collection<String> applyModes)
The methods to apply the recommended action.
|
void |
setContextAttributes(Collection<ContextAttribute> contextAttributes)
The supporting attributes to explain the recommended action.
|
void |
setDescription(String description)
A detailed description of the action.
|
void |
setIssueDetails(IssueDetails issueDetails)
The details of the issue.
|
void |
setOperation(String operation)
An API operation for the action.
|
void |
setParameters(Collection<RecommendedActionParameter> parameters)
The parameters for the API operation.
|
void |
setStatus(String status)
The status of the action.
|
void |
setTitle(String title)
A short description to summarize the action.
|
String |
toString()
Returns a string representation of this object.
|
RecommendedAction |
withActionId(String actionId)
The unique identifier of the recommended action.
|
RecommendedAction |
withApplyModes(Collection<String> applyModes)
The methods to apply the recommended action.
|
RecommendedAction |
withApplyModes(String... applyModes)
The methods to apply the recommended action.
|
RecommendedAction |
withContextAttributes(Collection<ContextAttribute> contextAttributes)
The supporting attributes to explain the recommended action.
|
RecommendedAction |
withContextAttributes(ContextAttribute... contextAttributes)
The supporting attributes to explain the recommended action.
|
RecommendedAction |
withDescription(String description)
A detailed description of the action.
|
RecommendedAction |
withIssueDetails(IssueDetails issueDetails)
The details of the issue.
|
RecommendedAction |
withOperation(String operation)
An API operation for the action.
|
RecommendedAction |
withParameters(Collection<RecommendedActionParameter> parameters)
The parameters for the API operation.
|
RecommendedAction |
withParameters(RecommendedActionParameter... parameters)
The parameters for the API operation.
|
RecommendedAction |
withStatus(String status)
The status of the action.
|
RecommendedAction |
withTitle(String title)
A short description to summarize the action.
|
public void setActionId(String actionId)
The unique identifier of the recommended action.
actionId
- The unique identifier of the recommended action.public String getActionId()
The unique identifier of the recommended action.
public RecommendedAction withActionId(String actionId)
The unique identifier of the recommended action.
actionId
- The unique identifier of the recommended action.public void setTitle(String title)
A short description to summarize the action. The description might contain markdown.
title
- A short description to summarize the action. The description might contain markdown.public String getTitle()
A short description to summarize the action. The description might contain markdown.
public RecommendedAction withTitle(String title)
A short description to summarize the action. The description might contain markdown.
title
- A short description to summarize the action. The description might contain markdown.public void setDescription(String description)
A detailed description of the action. The description might contain markdown.
description
- A detailed description of the action. The description might contain markdown.public String getDescription()
A detailed description of the action. The description might contain markdown.
public RecommendedAction withDescription(String description)
A detailed description of the action. The description might contain markdown.
description
- A detailed description of the action. The description might contain markdown.public void setOperation(String operation)
An API operation for the action.
operation
- An API operation for the action.public String getOperation()
An API operation for the action.
public RecommendedAction withOperation(String operation)
An API operation for the action.
operation
- An API operation for the action.public List<RecommendedActionParameter> getParameters()
The parameters for the API operation.
public void setParameters(Collection<RecommendedActionParameter> parameters)
The parameters for the API operation.
parameters
- The parameters for the API operation.public RecommendedAction withParameters(RecommendedActionParameter... parameters)
The parameters for the API operation.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
or withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- The parameters for the API operation.public RecommendedAction withParameters(Collection<RecommendedActionParameter> parameters)
The parameters for the API operation.
parameters
- The parameters for the API operation.public List<String> getApplyModes()
The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
public void setApplyModes(Collection<String> applyModes)
The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
applyModes
- The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
public RecommendedAction withApplyModes(String... applyModes)
The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
NOTE: This method appends the values to the existing list (if any). Use
setApplyModes(java.util.Collection)
or withApplyModes(java.util.Collection)
if you want to
override the existing values.
applyModes
- The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
public RecommendedAction withApplyModes(Collection<String> applyModes)
The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
applyModes
- The methods to apply the recommended action.
Valid values:
manual
- The action requires you to resolve the recommendation manually.
immediately
- The action is applied immediately.
next-maintainance-window
- The action is applied during the next scheduled maintainance.
public void setStatus(String status)
The status of the action.
ready
applied
scheduled
resolved
status
- The status of the action.
ready
applied
scheduled
resolved
public String getStatus()
The status of the action.
ready
applied
scheduled
resolved
ready
applied
scheduled
resolved
public RecommendedAction withStatus(String status)
The status of the action.
ready
applied
scheduled
resolved
status
- The status of the action.
ready
applied
scheduled
resolved
public void setIssueDetails(IssueDetails issueDetails)
The details of the issue.
issueDetails
- The details of the issue.public IssueDetails getIssueDetails()
The details of the issue.
public RecommendedAction withIssueDetails(IssueDetails issueDetails)
The details of the issue.
issueDetails
- The details of the issue.public List<ContextAttribute> getContextAttributes()
The supporting attributes to explain the recommended action.
public void setContextAttributes(Collection<ContextAttribute> contextAttributes)
The supporting attributes to explain the recommended action.
contextAttributes
- The supporting attributes to explain the recommended action.public RecommendedAction withContextAttributes(ContextAttribute... contextAttributes)
The supporting attributes to explain the recommended action.
NOTE: This method appends the values to the existing list (if any). Use
setContextAttributes(java.util.Collection)
or withContextAttributes(java.util.Collection)
if
you want to override the existing values.
contextAttributes
- The supporting attributes to explain the recommended action.public RecommendedAction withContextAttributes(Collection<ContextAttribute> contextAttributes)
The supporting attributes to explain the recommended action.
contextAttributes
- The supporting attributes to explain the recommended action.public String toString()
toString
in class Object
Object.toString()
public RecommendedAction clone()