Interface GetPackageVersionHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPackageVersionHistoryResponse.Builder,
,GetPackageVersionHistoryResponse> OpenSearchResponse.Builder
,SdkBuilder<GetPackageVersionHistoryResponse.Builder,
,GetPackageVersionHistoryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPackageVersionHistoryResponse
public static interface GetPackageVersionHistoryResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetPackageVersionHistoryResponse.Builder,GetPackageVersionHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhennextToken
is returned, there are more results available.The unique identifier of the package.packageVersionHistoryList
(Collection<PackageVersionHistory> packageVersionHistoryList) A list of package versions, along with their creation time and commit message.packageVersionHistoryList
(Consumer<PackageVersionHistory.Builder>... packageVersionHistoryList) A list of package versions, along with their creation time and commit message.packageVersionHistoryList
(PackageVersionHistory... packageVersionHistoryList) A list of package versions, along with their creation time and commit message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
packageID
The unique identifier of the package.
- Parameters:
packageID
- The unique identifier of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVersionHistoryList
GetPackageVersionHistoryResponse.Builder packageVersionHistoryList(Collection<PackageVersionHistory> packageVersionHistoryList) A list of package versions, along with their creation time and commit message.
- Parameters:
packageVersionHistoryList
- A list of package versions, along with their creation time and commit message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVersionHistoryList
GetPackageVersionHistoryResponse.Builder packageVersionHistoryList(PackageVersionHistory... packageVersionHistoryList) A list of package versions, along with their creation time and commit message.
- Parameters:
packageVersionHistoryList
- A list of package versions, along with their creation time and commit message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVersionHistoryList
GetPackageVersionHistoryResponse.Builder packageVersionHistoryList(Consumer<PackageVersionHistory.Builder>... packageVersionHistoryList) A list of package versions, along with their creation time and commit message.
This is a convenience method that creates an instance of thePackageVersionHistory.Builder
avoiding the need to create one manually viaPackageVersionHistory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topackageVersionHistoryList(List<PackageVersionHistory>)
.- Parameters:
packageVersionHistoryList
- a consumer that will call methods onPackageVersionHistory.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 ofnextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken
- WhennextToken
is returned, there are more results available. The value ofnextToken
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.
-