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.Builderanswer(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
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaAnswer.builder().When the
Consumercompletes,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:
-