Interface UpdateAnswerRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateAnswerRequest.Builder,UpdateAnswerRequest>, SdkBuilder<UpdateAnswerRequest.Builder,UpdateAnswerRequest>, SdkPojo, SdkRequest.Builder, WellArchitectedRequest.Builder
Enclosing class:
UpdateAnswerRequest

public static interface UpdateAnswerRequest.Builder extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<UpdateAnswerRequest.Builder,UpdateAnswerRequest>
  • Method Details

    • 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

      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

      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:
    • 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:
    • overrideConfiguration

      UpdateAnswerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.