Interface ListSystemVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSystemVersionsResponse.Builder,,ListSystemVersionsResponse> OdbResponse.Builder,SdkBuilder<ListSystemVersionsResponse.Builder,,ListSystemVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSystemVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListSystemVersionsResponse.Builder
extends OdbResponse.Builder, SdkPojo, CopyableBuilder<ListSystemVersionsResponse.Builder,ListSystemVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to include in another request to get the next page of items.systemVersions(Collection<SystemVersionSummary> systemVersions) The list of system versions.systemVersions(Consumer<SystemVersionSummary.Builder>... systemVersions) The list of system versions.systemVersions(SystemVersionSummary... systemVersions) The list of system versions.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.
-
systemVersions
The list of system versions.
- Parameters:
systemVersions- The list of system versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemVersions
The list of system versions.
- Parameters:
systemVersions- The list of system versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemVersions
ListSystemVersionsResponse.Builder systemVersions(Consumer<SystemVersionSummary.Builder>... systemVersions) The list of system versions.
This is a convenience method that creates an instance of theSystemVersionSummary.Builderavoiding the need to create one manually viaSystemVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemVersions(List<SystemVersionSummary>).- Parameters:
systemVersions- a consumer that will call methods onSystemVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-