IPTag Class
- java.
lang. Object - com.
azure. compute. batch. models. IPTag
- com.
Implements
public final class IPTag
implements JsonSerializable<IPTag>
Contains the IP tag associated with the public IP address.
Constructor Summary
| Constructor | Description |
|---|---|
| IPTag() |
Creates an instance of IPTag class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static IPTag |
fromJson(JsonReader jsonReader)
Reads an instance of IPTag from the Json |
| String |
getIpTagType()
Get the ip |
| String |
getTag()
Get the tag property: The value of the IP tag associated with the public IP. |
| IPTag |
setIpTagType(String ipTagType)
Set the ip |
| IPTag |
setTag(String tag)
Set the tag property: The value of the IP tag associated with the public IP. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IPTag
public IPTag()
Creates an instance of IPTag class.
Method Details
fromJson
public static IPTag fromJson(JsonReader jsonReader)
Reads an instance of IPTag from the JsonReader.
Parameters:
Returns:
Throws:
getIpTagType
public String getIpTagType()
Get the ipTagType property: The IP Tag type. Example: FirstPartyUsage.
Returns:
getTag
public String getTag()
Get the tag property: The value of the IP tag associated with the public IP. Example: SQL.
Returns:
setIpTagType
public IPTag setIpTagType(String ipTagType)
Set the ipTagType property: The IP Tag type. Example: FirstPartyUsage.
Parameters:
Returns:
setTag
public IPTag setTag(String tag)
Set the tag property: The value of the IP tag associated with the public IP. Example: SQL.
Parameters:
Returns: