@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateReviewTemplateAnswerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateReviewTemplateAnswerRequest() |
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 setTemplateArn(String templateArn)
The review template ARN.
templateArn
- The review template ARN.public String getTemplateArn()
The review template ARN.
public UpdateReviewTemplateAnswerRequest withTemplateArn(String templateArn)
The review template ARN.
templateArn
- The review template ARN.public void setLensAlias(String lensAlias)
lensAlias
- public String getLensAlias()
public UpdateReviewTemplateAnswerRequest withLensAlias(String lensAlias)
lensAlias
- public void setQuestionId(String questionId)
questionId
- public String getQuestionId()
public UpdateReviewTemplateAnswerRequest withQuestionId(String questionId)
questionId
- public void setSelectedChoices(Collection<String> selectedChoices)
selectedChoices
- public UpdateReviewTemplateAnswerRequest withSelectedChoices(String... selectedChoices)
NOTE: This method appends the values to the existing list (if any). Use
setSelectedChoices(java.util.Collection)
or withSelectedChoices(java.util.Collection)
if you
want to override the existing values.
selectedChoices
- public UpdateReviewTemplateAnswerRequest withSelectedChoices(Collection<String> selectedChoices)
selectedChoices
- public Map<String,ChoiceUpdate> getChoiceUpdates()
A list of choices to be updated.
public void setChoiceUpdates(Map<String,ChoiceUpdate> choiceUpdates)
A list of choices to be updated.
choiceUpdates
- A list of choices to be updated.public UpdateReviewTemplateAnswerRequest withChoiceUpdates(Map<String,ChoiceUpdate> choiceUpdates)
A list of choices to be updated.
choiceUpdates
- A list of choices to be updated.public UpdateReviewTemplateAnswerRequest addChoiceUpdatesEntry(String key, ChoiceUpdate value)
public UpdateReviewTemplateAnswerRequest clearChoiceUpdatesEntries()
public void setNotes(String notes)
notes
- public String getNotes()
public UpdateReviewTemplateAnswerRequest withNotes(String notes)
notes
- public void setIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean getIsApplicable()
public UpdateReviewTemplateAnswerRequest withIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean isApplicable()
public void setReason(String reason)
The update reason.
reason
- The update reason.AnswerReason
public String getReason()
The update reason.
AnswerReason
public UpdateReviewTemplateAnswerRequest withReason(String reason)
The update reason.
reason
- The update reason.AnswerReason
public UpdateReviewTemplateAnswerRequest withReason(AnswerReason reason)
The update reason.
reason
- The update reason.AnswerReason
public String toString()
toString
in class Object
Object.toString()
public UpdateReviewTemplateAnswerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()