Interface ExtendTrainingPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExtendTrainingPlanResponse.Builder,,ExtendTrainingPlanResponse> SageMakerResponse.Builder,SdkBuilder<ExtendTrainingPlanResponse.Builder,,ExtendTrainingPlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ExtendTrainingPlanResponse
@Mutable
@NotThreadSafe
public static interface ExtendTrainingPlanResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ExtendTrainingPlanResponse.Builder,ExtendTrainingPlanResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontrainingPlanExtensions(Collection<TrainingPlanExtension> trainingPlanExtensions) The list of extensions for the training plan, including the newly created extension.trainingPlanExtensions(Consumer<TrainingPlanExtension.Builder>... trainingPlanExtensions) The list of extensions for the training plan, including the newly created extension.trainingPlanExtensions(TrainingPlanExtension... trainingPlanExtensions) The list of extensions for the training plan, including the newly created extension.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
-
trainingPlanExtensions
ExtendTrainingPlanResponse.Builder trainingPlanExtensions(Collection<TrainingPlanExtension> trainingPlanExtensions) The list of extensions for the training plan, including the newly created extension.
- Parameters:
trainingPlanExtensions- The list of extensions for the training plan, including the newly created extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanExtensions
ExtendTrainingPlanResponse.Builder trainingPlanExtensions(TrainingPlanExtension... trainingPlanExtensions) The list of extensions for the training plan, including the newly created extension.
- Parameters:
trainingPlanExtensions- The list of extensions for the training plan, including the newly created extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanExtensions
ExtendTrainingPlanResponse.Builder trainingPlanExtensions(Consumer<TrainingPlanExtension.Builder>... trainingPlanExtensions) The list of extensions for the training plan, including the newly created extension.
This is a convenience method that creates an instance of theTrainingPlanExtension.Builderavoiding the need to create one manually viaTrainingPlanExtension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrainingPlanExtensions(List<TrainingPlanExtension>).- Parameters:
trainingPlanExtensions- a consumer that will call methods onTrainingPlanExtension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-