Class EndpointPropertiesSubnetsItem
- java.lang.Object
-
- com.microsoft.azure.management.trafficmanager.EndpointPropertiesSubnetsItem
-
public class EndpointPropertiesSubnetsItem extends Object
Subnet first address, scope, and/or last address.
-
-
Constructor Summary
Constructors Constructor Description EndpointPropertiesSubnetsItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfirst()Get first address in the subnet.Stringlast()Get last address in the subnet.Integerscope()Get block size (number of leading bits in the subnet mask).EndpointPropertiesSubnetsItemwithFirst(String first)Set first address in the subnet.EndpointPropertiesSubnetsItemwithLast(String last)Set last address in the subnet.EndpointPropertiesSubnetsItemwithScope(Integer scope)Set block size (number of leading bits in the subnet mask).
-
-
-
Method Detail
-
first
public String first()
Get first address in the subnet.- Returns:
- the first 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.
-
last
public String last()
Get last address in the subnet.- Returns:
- the last value
-
withLast
public EndpointPropertiesSubnetsItem withLast(String last)
Set last address in the subnet.- Parameters:
last- the last value to set- Returns:
- the EndpointPropertiesSubnetsItem object itself.
-
scope
public Integer scope()
Get block size (number of leading bits in the subnet mask).- Returns:
- the scope value
-
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.
-
-