Interface GetPackageVersionHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPackageVersionHistoryResponse.Builder,,GetPackageVersionHistoryResponse> OpenSearchResponse.Builder,SdkBuilder<GetPackageVersionHistoryResponse.Builder,,GetPackageVersionHistoryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPackageVersionHistoryResponse
@Mutable
@NotThreadSafe
public static interface GetPackageVersionHistoryResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetPackageVersionHistoryResponse.Builder,GetPackageVersionHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhennextTokenis 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
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPackageVersionHistory.builder().When the
Consumercompletes,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
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis 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.
-