RegionSpecEntity Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. models. RegionSpecEntity
- com.
Implements
public final class RegionSpecEntity
implements JsonSerializable<RegionSpecEntity>
Region spec details.
Constructor Summary
| Constructor | Description |
|---|---|
| RegionSpecEntity() |
Creates an instance of Region |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
cloud()
Get the cloud property: Cloud provider name. |
|
static
Region |
fromJson(JsonReader jsonReader)
Reads an instance of Region |
| String |
name()
Get the name property: Display Name of the region. |
| List<String> |
packages()
Get the packages property: The packages property. |
| String |
regionName()
Get the region |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Region |
withCloud(String cloud)
Set the cloud property: Cloud provider name. |
|
Region |
withName(String name)
Set the name property: Display Name of the region. |
|
Region |
withPackages(List<String> packages)
Set the packages property: The packages property. |
|
Region |
withRegionName(String regionName)
Set the region |
Methods inherited from java.lang.Object
Constructor Details
RegionSpecEntity
public RegionSpecEntity()
Creates an instance of RegionSpecEntity class.
Method Details
cloud
public String cloud()
Get the cloud property: Cloud provider name.
Returns:
fromJson
public static RegionSpecEntity fromJson(JsonReader jsonReader)
Reads an instance of RegionSpecEntity from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Display Name of the region.
Returns:
packages
public List<String> packages()
Get the packages property: The packages property.
Returns:
regionName
public String regionName()
Get the regionName property: Region name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCloud
public RegionSpecEntity withCloud(String cloud)
Set the cloud property: Cloud provider name.
Parameters:
Returns:
withName
public RegionSpecEntity withName(String name)
Set the name property: Display Name of the region.
Parameters:
Returns:
withPackages
public RegionSpecEntity withPackages(List<String> packages)
Set the packages property: The packages property.
Parameters:
Returns:
withRegionName
public RegionSpecEntity withRegionName(String regionName)
Set the regionName property: Region name.
Parameters:
Returns: