EndpointPropertiesSubnetsItem Class

  • java.lang.Object
    • com.microsoft.azure.management.trafficmanager.EndpointPropertiesSubnetsItem

public class EndpointPropertiesSubnetsItem

Subnet first address, scope, and/or last address.

Constructor Summary

Constructor Description
EndpointPropertiesSubnetsItem()

Method Summary

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

Get first address in the subnet.

java.lang.String last()

Get last address in the subnet.

java.lang.Integer scope()

Get block size (number of leading bits in the subnet mask).

EndpointPropertiesSubnetsItem withFirst(String first)

Set first address in the subnet.

EndpointPropertiesSubnetsItem withLast(String last)

Set last address in the subnet.

EndpointPropertiesSubnetsItem withScope(Integer scope)

Set block size (number of leading bits in the subnet mask).

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

EndpointPropertiesSubnetsItem

public EndpointPropertiesSubnetsItem()

Method Details

first

public String first()

Get first address in the subnet.

Returns:

the first value

last

public String last()

Get last address in the subnet.

Returns:

the last value

scope

public Integer scope()

Get block size (number of leading bits in the subnet mask).

Returns:

the scope value

withFirst

public EndpointPropertiesSubnetsItem withFirst(String first)

Set first address in the subnet.

Parameters:

first - the first value to set

Returns:

the EndpointPropertiesSubnetsItem object itself.

withLast

public EndpointPropertiesSubnetsItem withLast(String last)

Set last address in the subnet.

Parameters:

last - the last value to set

Returns:

the EndpointPropertiesSubnetsItem object itself.

withScope

public EndpointPropertiesSubnetsItem withScope(Integer scope)

Set block size (number of leading bits in the subnet mask).

Parameters:

scope - the scope value to set

Returns:

the EndpointPropertiesSubnetsItem object itself.

Applies to