@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelMetadataFilter extends Object implements Serializable, Cloneable, StructuredPojo
Part of the search expression. You can specify the name and value (domain, task, framework, framework version, task, and model).
Constructor and Description |
---|
ModelMetadataFilter() |
Modifier and Type | Method and Description |
---|---|
ModelMetadataFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the of the model to filter by.
|
String |
getValue()
The value to filter the model metadata.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the of the model to filter by.
|
void |
setValue(String value)
The value to filter the model metadata.
|
String |
toString()
Returns a string representation of this object.
|
ModelMetadataFilter |
withName(ModelMetadataFilterType name)
The name of the of the model to filter by.
|
ModelMetadataFilter |
withName(String name)
The name of the of the model to filter by.
|
ModelMetadataFilter |
withValue(String value)
The value to filter the model metadata.
|
public void setName(String name)
The name of the of the model to filter by.
name
- The name of the of the model to filter by.ModelMetadataFilterType
public String getName()
The name of the of the model to filter by.
ModelMetadataFilterType
public ModelMetadataFilter withName(String name)
The name of the of the model to filter by.
name
- The name of the of the model to filter by.ModelMetadataFilterType
public ModelMetadataFilter withName(ModelMetadataFilterType name)
The name of the of the model to filter by.
name
- The name of the of the model to filter by.ModelMetadataFilterType
public void setValue(String value)
The value to filter the model metadata.
value
- The value to filter the model metadata.public String getValue()
The value to filter the model metadata.
public ModelMetadataFilter withValue(String value)
The value to filter the model metadata.
value
- The value to filter the model metadata.public String toString()
toString
in class Object
Object.toString()
public ModelMetadataFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.