Interface UpdateTrialComponentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTrialComponentRequest.Builder,
,UpdateTrialComponentRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateTrialComponentRequest.Builder,
,UpdateTrialComponentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTrialComponentRequest
-
Method Summary
Modifier and TypeMethodDescriptiondisplayName
(String displayName) The name of the component as displayed.When the component ended.inputArtifacts
(Map<String, TrialComponentArtifact> inputArtifacts) Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts.inputArtifactsToRemove
(String... inputArtifactsToRemove) The input artifacts to remove from the component.inputArtifactsToRemove
(Collection<String> inputArtifactsToRemove) The input artifacts to remove from the component.outputArtifacts
(Map<String, TrialComponentArtifact> outputArtifacts) Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts.outputArtifactsToRemove
(String... outputArtifactsToRemove) The output artifacts to remove from the component.outputArtifactsToRemove
(Collection<String> outputArtifactsToRemove) The output artifacts to remove from the component.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Map<String, TrialComponentParameterValue> parameters) Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters.parametersToRemove
(String... parametersToRemove) The hyperparameters to remove from the component.parametersToRemove
(Collection<String> parametersToRemove) The hyperparameters to remove from the component.When the component started.status
(Consumer<TrialComponentStatus.Builder> status) The new status of the component.status
(TrialComponentStatus status) The new status of the component.trialComponentName
(String trialComponentName) The name of the component to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trialComponentName
The name of the component to update.
- Parameters:
trialComponentName
- The name of the component to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The name of the component as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified,TrialComponentName
is displayed.- Parameters:
displayName
- The name of the component as displayed. The name doesn't need to be unique. IfDisplayName
isn't specified,TrialComponentName
is displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The new status of the component.
- Parameters:
status
- The new status of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTrialComponentStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(TrialComponentStatus)
.- Parameters:
status
- a consumer that will call methods onTrialComponentStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
When the component started.
- Parameters:
startTime
- When the component started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
When the component ended.
- Parameters:
endTime
- When the component ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters. Existing hyperparameters are replaced if the trial component is updated with an identical hyperparameter key.
- Parameters:
parameters
- Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters. Existing hyperparameters are replaced if the trial component is updated with an identical hyperparameter key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parametersToRemove
The hyperparameters to remove from the component.
- Parameters:
parametersToRemove
- The hyperparameters to remove from the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parametersToRemove
The hyperparameters to remove from the component.
- Parameters:
parametersToRemove
- The hyperparameters to remove from the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
UpdateTrialComponentRequest.Builder inputArtifacts(Map<String, TrialComponentArtifact> inputArtifacts) Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts. Existing input artifacts are replaced if the trial component is updated with an identical input artifact key.
- Parameters:
inputArtifacts
- Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts. Existing input artifacts are replaced if the trial component is updated with an identical input artifact key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifactsToRemove
UpdateTrialComponentRequest.Builder inputArtifactsToRemove(Collection<String> inputArtifactsToRemove) The input artifacts to remove from the component.
- Parameters:
inputArtifactsToRemove
- The input artifacts to remove from the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifactsToRemove
The input artifacts to remove from the component.
- Parameters:
inputArtifactsToRemove
- The input artifacts to remove from the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
UpdateTrialComponentRequest.Builder outputArtifacts(Map<String, TrialComponentArtifact> outputArtifacts) Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts. Existing output artifacts are replaced if the trial component is updated with an identical output artifact key.
- Parameters:
outputArtifacts
- Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts. Existing output artifacts are replaced if the trial component is updated with an identical output artifact key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifactsToRemove
UpdateTrialComponentRequest.Builder outputArtifactsToRemove(Collection<String> outputArtifactsToRemove) The output artifacts to remove from the component.
- Parameters:
outputArtifactsToRemove
- The output artifacts to remove from the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifactsToRemove
The output artifacts to remove from the component.
- Parameters:
outputArtifactsToRemove
- The output artifacts to remove from the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTrialComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTrialComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-