public final class ExtendedLocation extends Object
| Constructor and Description |
|---|
ExtendedLocation() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The extended location name.
|
ExtendedLocationType |
type()
Get the type property: The extended location type.
|
void |
validate()
Validates the instance.
|
ExtendedLocation |
withName(String name)
Set the name property: The extended location name.
|
ExtendedLocation |
withType(ExtendedLocationType type)
Set the type property: The extended location type.
|
public ExtendedLocationType type()
public ExtendedLocation withType(ExtendedLocationType type)
type - the type value to set.public String name()
public ExtendedLocation withName(String name)
name - the name value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.