RegionSpecEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.RegionSpecEntity

Implements

public final class RegionSpecEntity
implements JsonSerializable<RegionSpecEntity>

Region spec details.

Constructor Summary

Constructor Description
RegionSpecEntity()

Creates an instance of RegionSpecEntity class.

Method Summary

Modifier and Type Method and Description
String cloud()

Get the cloud property: Cloud provider name.

static RegionSpecEntity fromJson(JsonReader jsonReader)

Reads an instance of RegionSpecEntity from the JsonReader.

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 regionName property: Region name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RegionSpecEntity withCloud(String cloud)

Set the cloud property: Cloud provider name.

RegionSpecEntity withName(String name)

Set the name property: Display Name of the region.

RegionSpecEntity withPackages(List<String> packages)

Set the packages property: The packages property.

RegionSpecEntity withRegionName(String regionName)

Set the regionName property: Region name.

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:

the cloud value.

fromJson

public static RegionSpecEntity fromJson(JsonReader jsonReader)

Reads an instance of RegionSpecEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RegionSpecEntity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RegionSpecEntity.

name

public String name()

Get the name property: Display Name of the region.

Returns:

the name value.

packages

public List<String> packages()

Get the packages property: The packages property.

Returns:

the packages value.

regionName

public String regionName()

Get the regionName property: Region name.

Returns:

the regionName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCloud

public RegionSpecEntity withCloud(String cloud)

Set the cloud property: Cloud provider name.

Parameters:

cloud - the cloud value to set.

Returns:

the RegionSpecEntity object itself.

withName

public RegionSpecEntity withName(String name)

Set the name property: Display Name of the region.

Parameters:

name - the name value to set.

Returns:

the RegionSpecEntity object itself.

withPackages

public RegionSpecEntity withPackages(List<String> packages)

Set the packages property: The packages property.

Parameters:

packages - the packages value to set.

Returns:

the RegionSpecEntity object itself.

withRegionName

public RegionSpecEntity withRegionName(String regionName)

Set the regionName property: Region name.

Parameters:

regionName - the regionName value to set.

Returns:

the RegionSpecEntity object itself.

Applies to