CidrIpAddress Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.CidrIpAddress

public class CidrIpAddress

CIDR Ip address.

Constructor Summary

Constructor Description
CidrIpAddress()

Method Summary

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

Get ip address itself.

java.lang.Integer prefixLength()

Get the length of the prefix of the ip address.

CidrIpAddress withBaseIpAddress(String baseIpAddress)

Set ip address itself.

CidrIpAddress withPrefixLength(Integer prefixLength)

Set the length of the prefix of the ip address.

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

CidrIpAddress

public CidrIpAddress()

Method Details

baseIpAddress

public String baseIpAddress()

Get ip address itself.

Returns:

the baseIpAddress value

prefixLength

public Integer prefixLength()

Get the length of the prefix of the ip address.

Returns:

the prefixLength value

withBaseIpAddress

public CidrIpAddress withBaseIpAddress(String baseIpAddress)

Set ip address itself.

Parameters:

baseIpAddress - the baseIpAddress value to set

Returns:

the CidrIpAddress object itself.

withPrefixLength

public CidrIpAddress withPrefixLength(Integer prefixLength)

Set the length of the prefix of the ip address.

Parameters:

prefixLength - the prefixLength value to set

Returns:

the CidrIpAddress object itself.

Applies to