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 Summary
Modifier and TypeMethodDescriptionchoiceUpdates(Map<String, ChoiceUpdate> choiceUpdates) A list of choices to update on a question in your workload.isApplicable(Boolean isApplicable) Sets the value of the IsApplicable property for this object.Sets the value of the LensAlias property for this object.Sets the value of the Notes property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.questionId(String questionId) Sets the value of the QuestionId property for this object.The reason why a question is not applicable to your workload.reason(AnswerReason reason) The reason why a question is not applicable to your workload.selectedChoices(String... selectedChoices) Sets the value of the SelectedChoices property for this object.selectedChoices(Collection<String> selectedChoices) Sets the value of the SelectedChoices property for this object.workloadId(String workloadId) Sets the value of the WorkloadId property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
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
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
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAnswerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-