Interface UpdateTrialComponentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTrialComponentRequest.Builder,UpdateTrialComponentRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateTrialComponentRequest.Builder,UpdateTrialComponentRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateTrialComponentRequest
public static interface UpdateTrialComponentRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateTrialComponentRequest.Builder,UpdateTrialComponentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTrialComponentRequest.Builder
displayName(String displayName)
The name of the component as displayed.UpdateTrialComponentRequest.Builder
endTime(Instant endTime)
When the component ended.UpdateTrialComponentRequest.Builder
inputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts.UpdateTrialComponentRequest.Builder
inputArtifactsToRemove(String... inputArtifactsToRemove)
The input artifacts to remove from the component.UpdateTrialComponentRequest.Builder
inputArtifactsToRemove(Collection<String> 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 or adds new output artifacts.UpdateTrialComponentRequest.Builder
outputArtifactsToRemove(String... outputArtifactsToRemove)
The output artifacts to remove from the component.UpdateTrialComponentRequest.Builder
outputArtifactsToRemove(Collection<String> outputArtifactsToRemove)
The output artifacts to remove from the component.UpdateTrialComponentRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateTrialComponentRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateTrialComponentRequest.Builder
parameters(Map<String,TrialComponentParameterValue> parameters)
Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters.UpdateTrialComponentRequest.Builder
parametersToRemove(String... parametersToRemove)
The hyperparameters to remove from the component.UpdateTrialComponentRequest.Builder
parametersToRemove(Collection<String> parametersToRemove)
The hyperparameters to remove from the component.UpdateTrialComponentRequest.Builder
startTime(Instant startTime)
When the component started.default UpdateTrialComponentRequest.Builder
status(Consumer<TrialComponentStatus.Builder> status)
The new status of the component.UpdateTrialComponentRequest.Builder
status(TrialComponentStatus status)
The new status of the component.UpdateTrialComponentRequest.Builder
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 Detail
-
trialComponentName
UpdateTrialComponentRequest.Builder trialComponentName(String 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
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.- 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
UpdateTrialComponentRequest.Builder status(TrialComponentStatus 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
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 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:
status(TrialComponentStatus)
-
startTime
UpdateTrialComponentRequest.Builder startTime(Instant 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
UpdateTrialComponentRequest.Builder endTime(Instant 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
UpdateTrialComponentRequest.Builder parameters(Map<String,TrialComponentParameterValue> 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
UpdateTrialComponentRequest.Builder parametersToRemove(Collection<String> 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
UpdateTrialComponentRequest.Builder parametersToRemove(String... 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
UpdateTrialComponentRequest.Builder inputArtifactsToRemove(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.
-
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
UpdateTrialComponentRequest.Builder outputArtifactsToRemove(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.
-
overrideConfiguration
UpdateTrialComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTrialComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-