Interface UpdateAnswerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateAnswerResponse.Builder,
,UpdateAnswerResponse> SdkBuilder<UpdateAnswerResponse.Builder,
,UpdateAnswerResponse> SdkPojo
,SdkResponse.Builder
,WellArchitectedResponse.Builder
- Enclosing class:
UpdateAnswerResponse
public static interface UpdateAnswerResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<UpdateAnswerResponse.Builder,UpdateAnswerResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAnswerResponse.Builder
answer
(Consumer<Answer.Builder> answer) Sets the value of the Answer property for this object.Sets the value of the Answer property for this object.Sets the value of the LensAlias property for this object.The ARN for the lens.workloadId
(String workloadId) Sets the value of the WorkloadId property for this object.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
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.
-
lensArn
The ARN for the lens.
- Parameters:
lensArn
- The ARN for the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answer
Sets the value of the Answer property for this object.- Parameters:
answer
- The new value for the Answer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answer
Sets the value of the Answer property for this object. This is a convenience method that creates an instance of theAnswer.Builder
avoiding the need to create one manually viaAnswer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanswer(Answer)
.- Parameters:
answer
- a consumer that will call methods onAnswer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-