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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAnswerRequest.BuilderchoiceUpdates(Map<String,ChoiceUpdate> choiceUpdates)A list of choices to update on a question in your workload.UpdateAnswerRequest.BuilderisApplicable(Boolean isApplicable)Sets the value of the IsApplicable property for this object.UpdateAnswerRequest.BuilderlensAlias(String lensAlias)Sets the value of the LensAlias property for this object.UpdateAnswerRequest.Buildernotes(String notes)Sets the value of the Notes property for this object.UpdateAnswerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAnswerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateAnswerRequest.BuilderquestionId(String questionId)Sets the value of the QuestionId property for this object.UpdateAnswerRequest.Builderreason(String reason)The reason why a question is not applicable to your workload.UpdateAnswerRequest.Builderreason(AnswerReason reason)The reason why a question is not applicable to your workload.UpdateAnswerRequest.BuilderselectedChoices(String... selectedChoices)Sets the value of the SelectedChoices property for this object.UpdateAnswerRequest.BuilderselectedChoices(Collection<String> selectedChoices)Sets the value of the SelectedChoices property for this object.UpdateAnswerRequest.BuilderworkloadId(String workloadId)Sets the value of the WorkloadId property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
-
-
-
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
-
overrideConfiguration
UpdateAnswerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAnswerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-