NameValuePair Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. NameValuePair
- com.
public class NameValuePair
Represents a name-value pair.
Constructor Summary
Constructor | Description | |
---|---|---|
NameValuePair() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
String |
value()
Get the value value. |
Name |
withName(String name)
Set the name value. |
Name |
withValue(String value)
Set the value value. |
Methods inherited from java.lang.Object
Constructor Details
NameValuePair
public NameValuePair()
Method Details
name
public String name()
Get the name value.
Returns:
the name value
value
public String value()
Get the value value.
Returns:
the value value
withName
public NameValuePair withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the NameValuePair object itself.
withValue
public NameValuePair withValue(String value)
Set the value value.
Parameters:
value
- the value value to set
Returns:
the NameValuePair 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