IpTag Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.IpTag

public final class IpTag

Contains the IpTag associated with the object.

Constructor Summary

Constructor Description
IpTag()

Creates an instance of IpTag class.

Method Summary

Modifier and Type Method and Description
String ipTagType()

Get the ipTagType property: The IP tag type.

String tag()

Get the tag property: The value of the IP tag associated with the public IP.

void validate()

Validates the instance.

IpTag withIpTagType(String ipTagType)

Set the ipTagType property: The IP tag type.

IpTag 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

ipTagType

public String ipTagType()

Get the ipTagType property: The IP tag type. Example: FirstPartyUsage.

Returns:

the ipTagType value.

tag

public String tag()

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

Returns:

the tag value.

validate

public void validate()

Validates the instance.

withIpTagType

public IpTag withIpTagType(String ipTagType)

Set the ipTagType property: 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 tag property: 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