ResourceMetricProperty Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. ResourceMetricProperty
- com.
public class ResourceMetricProperty
Resource metric property.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
key()
Get the key value. |
String |
value()
Get the value value. |
Resource |
withKey(String key)
Set the key value. |
Resource |
withValue(String value)
Set the value value. |
Method Details
key
public String key()
Get the key value.
Returns:
the key value
value
public String value()
Get the value value.
Returns:
the value value
withKey
public ResourceMetricProperty withKey(String key)
Set the key value.
Parameters:
key
- the key value to set
Returns:
the ResourceMetricProperty object itself.
withValue
public ResourceMetricProperty withValue(String value)
Set the value value.
Parameters:
value
- the value value to set
Returns:
the ResourceMetricProperty object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java