@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryField extends Object implements Serializable, Cloneable, StructuredPojo
Defines a field to query for your application's Amazon CloudWatch Internet Monitor data. You create a data repository
by running a query of a specific type. Each QueryType includes a specific set of fields and datatypes to
retrieve data for.
| Constructor and Description |
|---|
QueryField() |
| Modifier and Type | Method and Description |
|---|---|
QueryField |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score. |
String |
getType()
The data type for a query field, which must correspond to the field you're defining for
QueryField. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score. |
void |
setType(String type)
The data type for a query field, which must correspond to the field you're defining for
QueryField. |
String |
toString()
Returns a string representation of this object.
|
QueryField |
withName(String name)
The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score. |
QueryField |
withType(String type)
The data type for a query field, which must correspond to the field you're defining for
QueryField. |
public void setName(String name)
The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score.
name - The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score.public String getName()
The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score.
availability_score.public QueryField withName(String name)
The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score.
name - The name of a field to query your application's Amazon CloudWatch Internet Monitor data for, such as
availability_score.public void setType(String type)
The data type for a query field, which must correspond to the field you're defining for QueryField.
For example, if the query field name is availability_score, the data type is float.
type - The data type for a query field, which must correspond to the field you're defining for
QueryField. For example, if the query field name is availability_score, the data
type is float.public String getType()
The data type for a query field, which must correspond to the field you're defining for QueryField.
For example, if the query field name is availability_score, the data type is float.
QueryField. For example, if the query field name is availability_score, the
data type is float.public QueryField withType(String type)
The data type for a query field, which must correspond to the field you're defining for QueryField.
For example, if the query field name is availability_score, the data type is float.
type - The data type for a query field, which must correspond to the field you're defining for
QueryField. For example, if the query field name is availability_score, the data
type is float.public String toString()
toString in class ObjectObject.toString()public QueryField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.