public final class EndpointPropertiesSubnetsItem extends Object
| Constructor and Description |
|---|
EndpointPropertiesSubnetsItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
first()
Get the first property: First address in the subnet.
|
String |
last()
Get the last property: Last address in the subnet.
|
Integer |
scope()
Get the scope property: Block size (number of leading bits in the subnet mask).
|
void |
validate()
Validates the instance.
|
EndpointPropertiesSubnetsItem |
withFirst(String first)
Set the first property: First address in the subnet.
|
EndpointPropertiesSubnetsItem |
withLast(String last)
Set the last property: Last address in the subnet.
|
EndpointPropertiesSubnetsItem |
withScope(Integer scope)
Set the scope property: Block size (number of leading bits in the subnet mask).
|
public String first()
public EndpointPropertiesSubnetsItem withFirst(String first)
first - the first value to set.public String last()
public EndpointPropertiesSubnetsItem withLast(String last)
last - the last value to set.public Integer scope()
public EndpointPropertiesSubnetsItem withScope(Integer scope)
scope - the scope value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.