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