### YamlMime:JavaType
uid: "com.microsoft.azure.batch.protocol.models.NameValuePair"
fullName: "com.microsoft.azure.batch.protocol.models.NameValuePair"
name: "NameValuePair"
nameWithType: "NameValuePair"
summary: "Represents a name-value pair."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public class **NameValuePair**"
constructors:
- uid: "com.microsoft.azure.batch.protocol.models.NameValuePair.NameValuePair()"
fullName: "com.microsoft.azure.batch.protocol.models.NameValuePair.NameValuePair()"
name: "NameValuePair()"
nameWithType: "NameValuePair.NameValuePair()"
syntax: "public NameValuePair()"
methods:
- uid: "com.microsoft.azure.batch.protocol.models.NameValuePair.name()"
fullName: "com.microsoft.azure.batch.protocol.models.NameValuePair.name()"
name: "name()"
nameWithType: "NameValuePair.name()"
summary: "Get the name value."
syntax: "public String name()"
desc: "Get the name value."
returns:
description: "the name value"
type: "String"
- uid: "com.microsoft.azure.batch.protocol.models.NameValuePair.value()"
fullName: "com.microsoft.azure.batch.protocol.models.NameValuePair.value()"
name: "value()"
nameWithType: "NameValuePair.value()"
summary: "Get the value value."
syntax: "public String value()"
desc: "Get the value value."
returns:
description: "the value value"
type: "String"
- uid: "com.microsoft.azure.batch.protocol.models.NameValuePair.withName(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.NameValuePair.withName(String name)"
name: "withName(String name)"
nameWithType: "NameValuePair.withName(String name)"
summary: "Set the name value."
parameters:
- description: "the name value to set"
name: "name"
type: "String"
syntax: "public NameValuePair withName(String name)"
desc: "Set the name value."
returns:
description: "the NameValuePair object itself."
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.NameValuePair.withValue(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.NameValuePair.withValue(String value)"
name: "withValue(String value)"
nameWithType: "NameValuePair.withValue(String value)"
summary: "Set the value value."
parameters:
- description: "the value value to set"
name: "value"
type: "String"
syntax: "public NameValuePair withValue(String value)"
desc: "Set the value value."
returns:
description: "the NameValuePair object itself."
type: ""
type: "class"
desc: "Represents a name-value pair."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0