Interface ListGiVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGiVersionsResponse.Builder,,ListGiVersionsResponse> OdbResponse.Builder,SdkBuilder<ListGiVersionsResponse.Builder,,ListGiVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGiVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListGiVersionsResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<ListGiVersionsResponse.Builder,ListGiVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongiVersions(Collection<GiVersionSummary> giVersions) The list of GI versions and their properties.giVersions(Consumer<GiVersionSummary.Builder>... giVersions) The list of GI versions and their properties.giVersions(GiVersionSummary... giVersions) The list of GI versions and their properties.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.odb.model.OdbResponse.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
-
nextToken
The token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
giVersions
The list of GI versions and their properties.
- Parameters:
giVersions- The list of GI versions and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
giVersions
The list of GI versions and their properties.
- Parameters:
giVersions- The list of GI versions and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
giVersions
The list of GI versions and their properties.
This is a convenience method that creates an instance of theGiVersionSummary.Builderavoiding the need to create one manually viaGiVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togiVersions(List<GiVersionSummary>).- Parameters:
giVersions- a consumer that will call methods onGiVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-