@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrialComponentParameterValue extends Object implements Serializable, Cloneable, StructuredPojo
The value of a hyperparameter. Only one of NumberValue or StringValue can be specified.
This object is specified in the CreateTrialComponent request.
| Constructor and Description |
|---|
TrialComponentParameterValue () |
| Modifier and Type | Method and Description |
|---|---|
TrialComponentParameterValue |
clone () |
boolean |
equals (Object obj) |
Double |
getNumberValue ()
The numeric value of a numeric hyperparameter.
|
String |
getStringValue ()
The string value of a categorical hyperparameter.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNumberValue (Double numberValue)
The numeric value of a numeric hyperparameter.
|
void |
setStringValue (String stringValue)
The string value of a categorical hyperparameter.
|
String |
toString ()
Returns a string representation of this object.
|
TrialComponentParameterValue |
withNumberValue (Double numberValue)
The numeric value of a numeric hyperparameter.
|
TrialComponentParameterValue |
withStringValue (String stringValue)
The string value of a categorical hyperparameter.
|
public TrialComponentParameterValue()
public void setStringValue(String stringValue)
The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify
the NumberValue parameter.
stringValue - The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't
specify the NumberValue parameter.public String getStringValue()
The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify
the NumberValue parameter.
NumberValue parameter.public TrialComponentParameterValue withStringValue(String stringValue)
The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify
the NumberValue parameter.
stringValue - The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't
specify the NumberValue parameter.public void setNumberValue(Double numberValue)
The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the
StringValue parameter.
numberValue - The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't
specify the StringValue parameter.public Double getNumberValue()
The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the
StringValue parameter.
StringValue parameter.public TrialComponentParameterValue withNumberValue(Double numberValue)
The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the
StringValue parameter.
numberValue - The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't
specify the StringValue parameter.public String toString()
toString in class Object Object.toString() public TrialComponentParameterValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.