Interface GetAnswerResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetAnswerResponse.Builder,GetAnswerResponse>, SdkBuilder<GetAnswerResponse.Builder,GetAnswerResponse>, SdkPojo, SdkResponse.Builder, WellArchitectedResponse.Builder
Enclosing class:
GetAnswerResponse

public static interface GetAnswerResponse.Builder extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<GetAnswerResponse.Builder,GetAnswerResponse>
  • Method Details

    • workloadId

      GetAnswerResponse.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.
    • milestoneNumber

      GetAnswerResponse.Builder milestoneNumber(Integer milestoneNumber)
      Sets the value of the MilestoneNumber property for this object.
      Parameters:
      milestoneNumber - The new value for the MilestoneNumber property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lensAlias

      GetAnswerResponse.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.
    • 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 the Answer.Builder avoiding the need to create one manually via Answer.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to answer(Answer).

      Parameters:
      answer - a consumer that will call methods on Answer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: