Interface UpdateAnswerRequest.Builder

    • Method Detail

      • workloadId

        UpdateAnswerRequest.Builder workloadId​(String workloadId)
        Sets the value of the WorkloadId property for this object.
        Parameters:
        workloadId - The new value for the WorkloadId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lensAlias

        UpdateAnswerRequest.Builder lensAlias​(String lensAlias)
        Sets the value of the LensAlias property for this object.
        Parameters:
        lensAlias - The new value for the LensAlias property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • questionId

        UpdateAnswerRequest.Builder questionId​(String questionId)
        Sets the value of the QuestionId property for this object.
        Parameters:
        questionId - The new value for the QuestionId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectedChoices

        UpdateAnswerRequest.Builder selectedChoices​(Collection<String> selectedChoices)
        Sets the value of the SelectedChoices property for this object.
        Parameters:
        selectedChoices - The new value for the SelectedChoices property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectedChoices

        UpdateAnswerRequest.Builder selectedChoices​(String... selectedChoices)
        Sets the value of the SelectedChoices property for this object.
        Parameters:
        selectedChoices - The new value for the SelectedChoices property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • choiceUpdates

        UpdateAnswerRequest.Builder choiceUpdates​(Map<String,​ChoiceUpdate> choiceUpdates)

        A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.

        Parameters:
        choiceUpdates - A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notes

        UpdateAnswerRequest.Builder notes​(String notes)
        Sets the value of the Notes property for this object.
        Parameters:
        notes - The new value for the Notes property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isApplicable

        UpdateAnswerRequest.Builder isApplicable​(Boolean isApplicable)
        Sets the value of the IsApplicable property for this object.
        Parameters:
        isApplicable - The new value for the IsApplicable property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reason

        UpdateAnswerRequest.Builder reason​(String reason)

        The reason why a question is not applicable to your workload.

        Parameters:
        reason - The reason why a question is not applicable to your workload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnswerReason, AnswerReason
      • reason

        UpdateAnswerRequest.Builder reason​(AnswerReason reason)

        The reason why a question is not applicable to your workload.

        Parameters:
        reason - The reason why a question is not applicable to your workload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnswerReason, AnswerReason