Class EndpointPropertiesSubnetsItem
java.lang.Object
com.microsoft.azure.management.trafficmanager.EndpointPropertiesSubnetsItem
Subnet first address, scope, and/or last address.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfirst()
Get first address in the subnet.last()
Get last address in the subnet.scope()
Get block size (number of leading bits in the subnet mask).Set first address in the subnet.Set last address in the subnet.Set block size (number of leading bits in the subnet mask).
-
Constructor Details
-
EndpointPropertiesSubnetsItem
public EndpointPropertiesSubnetsItem()
-
-
Method Details
-
first
Get first address in the subnet.- Returns:
- the first value
-
withFirst
Set first address in the subnet.- Parameters:
first
- the first value to set- Returns:
- the EndpointPropertiesSubnetsItem object itself.
-
last
Get last address in the subnet.- Returns:
- the last value
-
withLast
Set last address in the subnet.- Parameters:
last
- the last value to set- Returns:
- the EndpointPropertiesSubnetsItem object itself.
-
scope
Get block size (number of leading bits in the subnet mask).- Returns:
- the scope value
-
withScope
Set block size (number of leading bits in the subnet mask).- Parameters:
scope
- the scope value to set- Returns:
- the EndpointPropertiesSubnetsItem object itself.
-