Interface ListClusterExtensionVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClusterExtensionVersionsResponse.Builder,,ListClusterExtensionVersionsResponse> SageMakerResponse.Builder,SdkBuilder<ListClusterExtensionVersionsResponse.Builder,,ListClusterExtensionVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListClusterExtensionVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListClusterExtensionVersionsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListClusterExtensionVersionsResponse.Builder,ListClusterExtensionVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionextensionVersions(Collection<ExtensionVersionSummary> extensionVersions) The versions of the extension that you can install, from the highest version to the lowest.extensionVersions(Consumer<ExtensionVersionSummary.Builder>... extensionVersions) The versions of the extension that you can install, from the highest version to the lowest.extensionVersions(ExtensionVersionSummary... extensionVersions) The versions of the extension that you can install, from the highest version to the lowest.If the response is truncated, a token that you can use in the next request to retrieve the next set of versions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
extensionVersions
ListClusterExtensionVersionsResponse.Builder extensionVersions(Collection<ExtensionVersionSummary> extensionVersions) The versions of the extension that you can install, from the highest version to the lowest.
- Parameters:
extensionVersions- The versions of the extension that you can install, from the highest version to the lowest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionVersions
ListClusterExtensionVersionsResponse.Builder extensionVersions(ExtensionVersionSummary... extensionVersions) The versions of the extension that you can install, from the highest version to the lowest.
- Parameters:
extensionVersions- The versions of the extension that you can install, from the highest version to the lowest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionVersions
ListClusterExtensionVersionsResponse.Builder extensionVersions(Consumer<ExtensionVersionSummary.Builder>... extensionVersions) The versions of the extension that you can install, from the highest version to the lowest.
This is a convenience method that creates an instance of theExtensionVersionSummary.Builderavoiding the need to create one manually viaExtensionVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextensionVersions(List<ExtensionVersionSummary>).- Parameters:
extensionVersions- a consumer that will call methods onExtensionVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, a token that you can use in the next request to retrieve the next set of versions.
- Parameters:
nextToken- If the response is truncated, a token that you can use in the next request to retrieve the next set of versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-