@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTrialComponentRequest extends SageMakerRequest implements ToCopyableBuilder<UpdateTrialComponentRequest.Builder,UpdateTrialComponentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTrialComponentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTrialComponentRequest.Builder |
builder() |
String |
displayName()
The name of the component as displayed.
|
Instant |
endTime()
When the component ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInputArtifacts()
For responses, this returns true if the service returned a value for the InputArtifacts property.
|
boolean |
hasInputArtifactsToRemove()
For responses, this returns true if the service returned a value for the InputArtifactsToRemove property.
|
boolean |
hasOutputArtifacts()
For responses, this returns true if the service returned a value for the OutputArtifacts property.
|
boolean |
hasOutputArtifactsToRemove()
For responses, this returns true if the service returned a value for the OutputArtifactsToRemove property.
|
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
boolean |
hasParametersToRemove()
For responses, this returns true if the service returned a value for the ParametersToRemove property.
|
Map<String,TrialComponentArtifact> |
inputArtifacts()
Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts.
|
List<String> |
inputArtifactsToRemove()
The input artifacts to remove from the component.
|
Map<String,TrialComponentArtifact> |
outputArtifacts()
Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts.
|
List<String> |
outputArtifactsToRemove()
The output artifacts to remove from the component.
|
Map<String,TrialComponentParameterValue> |
parameters()
Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters.
|
List<String> |
parametersToRemove()
The hyperparameters to remove from the component.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTrialComponentRequest.Builder> |
serializableBuilderClass() |
Instant |
startTime()
When the component started.
|
TrialComponentStatus |
status()
The new status of the component.
|
UpdateTrialComponentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trialComponentName()
The name of the component to update.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trialComponentName()
The name of the component to update.
public final 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
isn't specified, TrialComponentName is displayed.public final TrialComponentStatus status()
The new status of the component.
public final Instant startTime()
When the component started.
public final Instant endTime()
When the component ended.
public final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
public final boolean hasParametersToRemove()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> parametersToRemove()
The hyperparameters to remove from the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParametersToRemove() method.
public final boolean hasInputArtifacts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInputArtifacts() method.
public final boolean hasInputArtifactsToRemove()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> inputArtifactsToRemove()
The input artifacts to remove from the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInputArtifactsToRemove() method.
public final boolean hasOutputArtifacts()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOutputArtifacts() method.
public final boolean hasOutputArtifactsToRemove()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> outputArtifactsToRemove()
The output artifacts to remove from the component.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOutputArtifactsToRemove() method.
public UpdateTrialComponentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTrialComponentRequest.Builder,UpdateTrialComponentRequest>toBuilder in class SageMakerRequestpublic static UpdateTrialComponentRequest.Builder builder()
public static Class<? extends UpdateTrialComponentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.