@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CategoricalParameterRange extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a categorical hyperparameter and it's range of tunable values. This object is part of the ParameterRanges object.
Constructor and Description |
---|
CategoricalParameterRange() |
Modifier and Type | Method and Description |
---|---|
CategoricalParameterRange |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the categorical hyperparameter to tune.
|
List<String> |
getValues()
A list of the tunable categories for the hyperparameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the categorical hyperparameter to tune.
|
void |
setValues(Collection<String> values)
A list of the tunable categories for the hyperparameter.
|
String |
toString()
Returns a string representation of this object.
|
CategoricalParameterRange |
withName(String name)
The name of the categorical hyperparameter to tune.
|
CategoricalParameterRange |
withValues(Collection<String> values)
A list of the tunable categories for the hyperparameter.
|
CategoricalParameterRange |
withValues(String... values)
A list of the tunable categories for the hyperparameter.
|
public void setName(String name)
The name of the categorical hyperparameter to tune.
name
- The name of the categorical hyperparameter to tune.public String getName()
The name of the categorical hyperparameter to tune.
public CategoricalParameterRange withName(String name)
The name of the categorical hyperparameter to tune.
name
- The name of the categorical hyperparameter to tune.public List<String> getValues()
A list of the tunable categories for the hyperparameter.
public void setValues(Collection<String> values)
A list of the tunable categories for the hyperparameter.
values
- A list of the tunable categories for the hyperparameter.public CategoricalParameterRange withValues(String... values)
A list of the tunable categories for the hyperparameter.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- A list of the tunable categories for the hyperparameter.public CategoricalParameterRange withValues(Collection<String> values)
A list of the tunable categories for the hyperparameter.
values
- A list of the tunable categories for the hyperparameter.public String toString()
toString
in class Object
Object.toString()
public CategoricalParameterRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.