Interface GetUpgradeHistoryResponse.Builder

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

public static interface GetUpgradeHistoryResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetUpgradeHistoryResponse.Builder,GetUpgradeHistoryResponse>
  • Method Details

    • upgradeHistories

      GetUpgradeHistoryResponse.Builder upgradeHistories(Collection<UpgradeHistory> upgradeHistories)

      A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.

      Parameters:
      upgradeHistories - A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upgradeHistories

      GetUpgradeHistoryResponse.Builder upgradeHistories(UpgradeHistory... upgradeHistories)

      A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.

      Parameters:
      upgradeHistories - A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upgradeHistories

      GetUpgradeHistoryResponse.Builder upgradeHistories(Consumer<UpgradeHistory.Builder>... upgradeHistories)

      A list of objects corresponding to each upgrade or upgrade eligibility check performed on a domain.

      This is a convenience method that creates an instance of the UpgradeHistory.Builder avoiding the need to create one manually via UpgradeHistory.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to upgradeHistories(List<UpgradeHistory>).

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

      When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

      Parameters:
      nextToken - When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.