Interface GetUpgradeHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetUpgradeHistoryResponse.Builder,GetUpgradeHistoryResponse>,ElasticsearchResponse.Builder,SdkBuilder<GetUpgradeHistoryResponse.Builder,GetUpgradeHistoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetUpgradeHistoryResponse
public static interface GetUpgradeHistoryResponse.Builder extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<GetUpgradeHistoryResponse.Builder,GetUpgradeHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetUpgradeHistoryResponse.BuildernextToken(String nextToken)Pagination token that needs to be supplied to the next call to get the next page of resultsGetUpgradeHistoryResponse.BuilderupgradeHistories(Collection<UpgradeHistory> upgradeHistories)A list ofUpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.GetUpgradeHistoryResponse.BuilderupgradeHistories(Consumer<UpgradeHistory.Builder>... upgradeHistories)A list ofUpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.GetUpgradeHistoryResponse.BuilderupgradeHistories(UpgradeHistory... upgradeHistories)A list ofUpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
upgradeHistories
GetUpgradeHistoryResponse.Builder upgradeHistories(Collection<UpgradeHistory> upgradeHistories)
A list of
UpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.- Parameters:
upgradeHistories- A list ofUpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradeHistories
GetUpgradeHistoryResponse.Builder upgradeHistories(UpgradeHistory... upgradeHistories)
A list of
UpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.- Parameters:
upgradeHistories- A list ofUpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.- 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
This is a convenience method that creates an instance of theUpgradeHistoryobjects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part ofGetUpgradeHistoryResponseobject.UpgradeHistory.Builderavoiding the need to create one manually viaUpgradeHistory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#upgradeHistories(List.) - Parameters:
upgradeHistories- a consumer that will call methods onUpgradeHistory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#upgradeHistories(java.util.Collection)
-
nextToken
GetUpgradeHistoryResponse.Builder nextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results
- Parameters:
nextToken- Pagination token that needs to be supplied to the next call to get the next page of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-