Available in VPC
This is a data type required when creating and editing Geo/CIDR maps.
Syntax
The syntax is as follows.
public class MapRequest {
private Long id;
private String name;
private MapType mapType;
private List<DetailedMap> detailedMapList;
}
public class DetailedMap {
private Long id;
private String name;
private String content;
private List<GeoIdMapping> geoIdMappings;
}
public class GeoIdMapping {
private String geoName;
private GeoType geoType;
}
Field
The following describes the fields.
MapRequest
Field | Type | Required | Description |
---|---|---|---|
id |
Long | - | Geo/CIDR Map ID |
name |
String | - | Geo/CIDR map name |
mapType |
Enum | - | Map type
|
detailedMapList |
List<DetailedMap> | - | Geo/CIDR map details |
DetailedMap
Field | Type | Required | Description |
---|---|---|---|
id |
Long | - | Geo/CIDR map details ID |
name |
String | - | Geo/CIDR map details name |
content |
String | - | Geo/CIDR map details |
geoIdMappings |
List<GeoIdMapping> | - | Geo information |
GeoIdMapping
Field | Type | Required | Description |
---|---|---|---|
geoName |
String | - | Region name |
geoType |
Enum | - | Region type
|