public class Region extends Object
| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get the code value.
|
String |
name()
Get the name value.
|
List<Region> |
regions()
Get the regions value.
|
Region |
withCode(String code)
Set the code value.
|
Region |
withName(String name)
Set the name value.
|
Region |
withRegions(List<Region> regions)
Set the regions value.
|
public String code()
public Region withCode(String code)
code - the code value to setpublic String name()
public Region withName(String name)
name - the name value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/