@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CategoricalHyperParameterRange extends Object implements Serializable, Cloneable, StructuredPojo
Provides the name and range of a categorical hyperparameter.
Constructor and Description |
---|
CategoricalHyperParameterRange() |
Modifier and Type | Method and Description |
---|---|
CategoricalHyperParameterRange |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the hyperparameter.
|
List<String> |
getValues()
A list of the 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 hyperparameter.
|
void |
setValues(Collection<String> values)
A list of the categories for the hyperparameter.
|
String |
toString()
Returns a string representation of this object.
|
CategoricalHyperParameterRange |
withName(String name)
The name of the hyperparameter.
|
CategoricalHyperParameterRange |
withValues(Collection<String> values)
A list of the categories for the hyperparameter.
|
CategoricalHyperParameterRange |
withValues(String... values)
A list of the categories for the hyperparameter.
|
public void setName(String name)
The name of the hyperparameter.
name
- The name of the hyperparameter.public String getName()
The name of the hyperparameter.
public CategoricalHyperParameterRange withName(String name)
The name of the hyperparameter.
name
- The name of the hyperparameter.public List<String> getValues()
A list of the categories for the hyperparameter.
public void setValues(Collection<String> values)
A list of the categories for the hyperparameter.
values
- A list of the categories for the hyperparameter.public CategoricalHyperParameterRange withValues(String... values)
A list of the 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 categories for the hyperparameter.public CategoricalHyperParameterRange withValues(Collection<String> values)
A list of the categories for the hyperparameter.
values
- A list of the categories for the hyperparameter.public String toString()
toString
in class Object
Object.toString()
public CategoricalHyperParameterRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.