IpTag Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. IpTag
- com.
Implements
public final class IpTag
implements JsonSerializable<IpTag>
Contains the IPTag associated with the object.
Constructor Summary
Constructor | Description |
---|---|
IpTag() |
Creates an instance of Ip |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
String |
ipTagType()
Get the ip |
String |
tag()
Get the tag property: The value of the IP tag associated with the public IP. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ip |
withIpTagType(String ipTagType)
Set the ip |
Ip |
withTag(String tag)
Set the tag property: The value of the IP tag associated with the public IP. |
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:
ipTagType
public String ipTagType()
Get the ipTagType property: The IP tag type. Example: RoutingPreference.
Returns:
tag
public String tag()
Get the tag property: The value of the IP tag associated with the public IP. Example: Internet.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpTagType
public IpTag withIpTagType(String ipTagType)
Set the ipTagType property: The IP tag type. Example: RoutingPreference.
Parameters:
Returns:
withTag
public IpTag withTag(String tag)
Set the tag property: The value of the IP tag associated with the public IP. Example: Internet.
Parameters:
Returns:
Applies to
Azure SDK for Java