IpTag Class

  • java.lang.Object
    • com.microsoft.azure.management.network.IpTag

public class IpTag

Contains the IpTag associated with the object.

Constructor Summary

Constructor Description
IpTag()

Method Summary

Modifier and Type Method and Description
java.lang.String ipTagType()

Get the IP tag type.

java.lang.String tag()

Get the value of the IP tag associated with the public IP.

IpTag withIpTagType(String ipTagType)

Set the IP tag type.

IpTag withTag(String tag)

Set the value of the IP tag associated with the public IP.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

IpTag

public IpTag()

Method Details

ipTagType

public String ipTagType()

Get the IP tag type. Example: FirstPartyUsage.

Returns:

the ipTagType value

tag

public String tag()

Get the value of the IP tag associated with the public IP. Example: SQL.

Returns:

the tag value

withIpTagType

public IpTag withIpTagType(String ipTagType)

Set the IP tag type. Example: FirstPartyUsage.

Parameters:

ipTagType - the ipTagType value to set

Returns:

the IpTag object itself.

withTag

public IpTag withTag(String tag)

Set the value of the IP tag associated with the public IP. Example: SQL.

Parameters:

tag - the tag value to set

Returns:

the IpTag object itself.

Applies to