@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBRecommendationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyDBRecommendationRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyDBRecommendationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLocale()
The language of the modified recommendation.
|
String |
getRecommendationId()
The identifier of the recommendation to update.
|
List<RecommendedActionUpdate> |
getRecommendedActionUpdates()
The list of recommended action status to update.
|
String |
getStatus()
The recommendation status to update.
|
int |
hashCode() |
void |
setLocale(String locale)
The language of the modified recommendation.
|
void |
setRecommendationId(String recommendationId)
The identifier of the recommendation to update.
|
void |
setRecommendedActionUpdates(Collection<RecommendedActionUpdate> recommendedActionUpdates)
The list of recommended action status to update.
|
void |
setStatus(String status)
The recommendation status to update.
|
String |
toString()
Returns a string representation of this object.
|
ModifyDBRecommendationRequest |
withLocale(String locale)
The language of the modified recommendation.
|
ModifyDBRecommendationRequest |
withRecommendationId(String recommendationId)
The identifier of the recommendation to update.
|
ModifyDBRecommendationRequest |
withRecommendedActionUpdates(Collection<RecommendedActionUpdate> recommendedActionUpdates)
The list of recommended action status to update.
|
ModifyDBRecommendationRequest |
withRecommendedActionUpdates(RecommendedActionUpdate... recommendedActionUpdates)
The list of recommended action status to update.
|
ModifyDBRecommendationRequest |
withStatus(String status)
The recommendation status to update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRecommendationId(String recommendationId)
The identifier of the recommendation to update.
recommendationId
- The identifier of the recommendation to update.public String getRecommendationId()
The identifier of the recommendation to update.
public ModifyDBRecommendationRequest withRecommendationId(String recommendationId)
The identifier of the recommendation to update.
recommendationId
- The identifier of the recommendation to update.public void setLocale(String locale)
The language of the modified recommendation.
locale
- The language of the modified recommendation.public String getLocale()
The language of the modified recommendation.
public ModifyDBRecommendationRequest withLocale(String locale)
The language of the modified recommendation.
locale
- The language of the modified recommendation.public void setStatus(String status)
The recommendation status to update.
Valid values:
active
dismissed
status
- The recommendation status to update.
Valid values:
active
dismissed
public String getStatus()
The recommendation status to update.
Valid values:
active
dismissed
Valid values:
active
dismissed
public ModifyDBRecommendationRequest withStatus(String status)
The recommendation status to update.
Valid values:
active
dismissed
status
- The recommendation status to update.
Valid values:
active
dismissed
public List<RecommendedActionUpdate> getRecommendedActionUpdates()
The list of recommended action status to update. You can update multiple recommended actions at one time.
public void setRecommendedActionUpdates(Collection<RecommendedActionUpdate> recommendedActionUpdates)
The list of recommended action status to update. You can update multiple recommended actions at one time.
recommendedActionUpdates
- The list of recommended action status to update. You can update multiple recommended actions at one time.public ModifyDBRecommendationRequest withRecommendedActionUpdates(RecommendedActionUpdate... recommendedActionUpdates)
The list of recommended action status to update. You can update multiple recommended actions at one time.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendedActionUpdates(java.util.Collection)
or
withRecommendedActionUpdates(java.util.Collection)
if you want to override the existing values.
recommendedActionUpdates
- The list of recommended action status to update. You can update multiple recommended actions at one time.public ModifyDBRecommendationRequest withRecommendedActionUpdates(Collection<RecommendedActionUpdate> recommendedActionUpdates)
The list of recommended action status to update. You can update multiple recommended actions at one time.
recommendedActionUpdates
- The list of recommended action status to update. You can update multiple recommended actions at one time.public String toString()
toString
in class Object
Object.toString()
public ModifyDBRecommendationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()