public static interface UpdateTrialComponentRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateTrialComponentRequest.Builder,UpdateTrialComponentRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateTrialComponentRequest.Builder trialComponentName(String trialComponentName)
The name of the component to update.
trialComponentName
- The name of the component to update.UpdateTrialComponentRequest.Builder displayName(String displayName)
The name of the component as displayed. The name doesn't need to be unique. If DisplayName
isn't
specified, TrialComponentName
is displayed.
displayName
- The name of the component as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialComponentName
is displayed.UpdateTrialComponentRequest.Builder status(TrialComponentStatus status)
The new status of the component.
status
- The new status of the component.default UpdateTrialComponentRequest.Builder status(Consumer<TrialComponentStatus.Builder> status)
The new status of the component.
This is a convenience method that creates an instance of theTrialComponentStatus.Builder
avoiding
the need to create one manually via TrialComponentStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to status(TrialComponentStatus)
.status
- a consumer that will call methods on TrialComponentStatus.Builder
status(TrialComponentStatus)
UpdateTrialComponentRequest.Builder startTime(Instant startTime)
When the component started.
startTime
- When the component started.UpdateTrialComponentRequest.Builder endTime(Instant endTime)
When the component ended.
endTime
- When the component ended.UpdateTrialComponentRequest.Builder parameters(Map<String,TrialComponentParameterValue> parameters)
Replaces all of the component's hyperparameters with the specified hyperparameters.
parameters
- Replaces all of the component's hyperparameters with the specified hyperparameters.UpdateTrialComponentRequest.Builder parametersToRemove(Collection<String> parametersToRemove)
The hyperparameters to remove from the component.
parametersToRemove
- The hyperparameters to remove from the component.UpdateTrialComponentRequest.Builder parametersToRemove(String... parametersToRemove)
The hyperparameters to remove from the component.
parametersToRemove
- The hyperparameters to remove from the component.UpdateTrialComponentRequest.Builder inputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
Replaces all of the component's input artifacts with the specified artifacts.
inputArtifacts
- Replaces all of the component's input artifacts with the specified artifacts.UpdateTrialComponentRequest.Builder inputArtifactsToRemove(Collection<String> inputArtifactsToRemove)
The input artifacts to remove from the component.
inputArtifactsToRemove
- The input artifacts to remove from the component.UpdateTrialComponentRequest.Builder inputArtifactsToRemove(String... inputArtifactsToRemove)
The input artifacts to remove from the component.
inputArtifactsToRemove
- The input artifacts to remove from the component.UpdateTrialComponentRequest.Builder outputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
Replaces all of the component's output artifacts with the specified artifacts.
outputArtifacts
- Replaces all of the component's output artifacts with the specified artifacts.UpdateTrialComponentRequest.Builder outputArtifactsToRemove(Collection<String> outputArtifactsToRemove)
The output artifacts to remove from the component.
outputArtifactsToRemove
- The output artifacts to remove from the component.UpdateTrialComponentRequest.Builder outputArtifactsToRemove(String... outputArtifactsToRemove)
The output artifacts to remove from the component.
outputArtifactsToRemove
- The output artifacts to remove from the component.UpdateTrialComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateTrialComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.