Share via


Platform Class

  • java.lang.Object
    • com.azure.resourcemanager.mobilenetwork.models.Platform

Implements

public final class Platform
implements JsonSerializable<Platform>

Platform specific packet core control plane version properties.

Constructor Summary

Constructor Description
Platform()

Creates an instance of Platform class.

Method Summary

Modifier and Type Method and Description
static Platform fromJson(JsonReader jsonReader)

Reads an instance of Platform from the JsonReader.

List<String> haUpgradesAvailable()

Get the haUpgradesAvailable property: The list of versions to which a high availability upgrade from this version is supported.

String maximumPlatformSoftwareVersion()

Get the maximumPlatformSoftwareVersion property: The maximum software version of the platform where this packet core version can be deployed.

String minimumPlatformSoftwareVersion()

Get the minimumPlatformSoftwareVersion property: The minimum software version of the platform where this packet core version can be deployed.

ObsoleteVersion obsoleteVersion()

Get the obsoleteVersion property: Indicates whether this version is obsoleted for this platform.

PlatformType platformType()

Get the platformType property: The platform type where this version can be deployed.

RecommendedVersion recommendedVersion()

Get the recommendedVersion property: Indicates whether this is the recommended version for this platform.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VersionState versionState()

Get the versionState property: The state of this packet core control plane version on this platform.

Platform withHaUpgradesAvailable(List<String> haUpgradesAvailable)

Set the haUpgradesAvailable property: The list of versions to which a high availability upgrade from this version is supported.

Platform withMaximumPlatformSoftwareVersion(String maximumPlatformSoftwareVersion)

Set the maximumPlatformSoftwareVersion property: The maximum software version of the platform where this packet core version can be deployed.

Platform withMinimumPlatformSoftwareVersion(String minimumPlatformSoftwareVersion)

Set the minimumPlatformSoftwareVersion property: The minimum software version of the platform where this packet core version can be deployed.

Platform withObsoleteVersion(ObsoleteVersion obsoleteVersion)

Set the obsoleteVersion property: Indicates whether this version is obsoleted for this platform.

Platform withPlatformType(PlatformType platformType)

Set the platformType property: The platform type where this version can be deployed.

Platform withRecommendedVersion(RecommendedVersion recommendedVersion)

Set the recommendedVersion property: Indicates whether this is the recommended version for this platform.

Platform withVersionState(VersionState versionState)

Set the versionState property: The state of this packet core control plane version on this platform.

Methods inherited from java.lang.Object

Constructor Details

Platform

public Platform()

Creates an instance of Platform class.

Method Details

fromJson

public static Platform fromJson(JsonReader jsonReader)

Reads an instance of Platform from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Platform 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 Platform.

haUpgradesAvailable

public List<String> haUpgradesAvailable()

Get the haUpgradesAvailable property: The list of versions to which a high availability upgrade from this version is supported.

Returns:

the haUpgradesAvailable value.

maximumPlatformSoftwareVersion

public String maximumPlatformSoftwareVersion()

Get the maximumPlatformSoftwareVersion property: The maximum software version of the platform where this packet core version can be deployed.

Returns:

the maximumPlatformSoftwareVersion value.

minimumPlatformSoftwareVersion

public String minimumPlatformSoftwareVersion()

Get the minimumPlatformSoftwareVersion property: The minimum software version of the platform where this packet core version can be deployed.

Returns:

the minimumPlatformSoftwareVersion value.

obsoleteVersion

public ObsoleteVersion obsoleteVersion()

Get the obsoleteVersion property: Indicates whether this version is obsoleted for this platform.

Returns:

the obsoleteVersion value.

platformType

public PlatformType platformType()

Get the platformType property: The platform type where this version can be deployed.

Returns:

the platformType value.

recommendedVersion

public RecommendedVersion recommendedVersion()

Get the recommendedVersion property: Indicates whether this is the recommended version for this platform.

Returns:

the recommendedVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

versionState

public VersionState versionState()

Get the versionState property: The state of this packet core control plane version on this platform.

Returns:

the versionState value.

withHaUpgradesAvailable

public Platform withHaUpgradesAvailable(List<String> haUpgradesAvailable)

Set the haUpgradesAvailable property: The list of versions to which a high availability upgrade from this version is supported.

Parameters:

haUpgradesAvailable - the haUpgradesAvailable value to set.

Returns:

the Platform object itself.

withMaximumPlatformSoftwareVersion

public Platform withMaximumPlatformSoftwareVersion(String maximumPlatformSoftwareVersion)

Set the maximumPlatformSoftwareVersion property: The maximum software version of the platform where this packet core version can be deployed.

Parameters:

maximumPlatformSoftwareVersion - the maximumPlatformSoftwareVersion value to set.

Returns:

the Platform object itself.

withMinimumPlatformSoftwareVersion

public Platform withMinimumPlatformSoftwareVersion(String minimumPlatformSoftwareVersion)

Set the minimumPlatformSoftwareVersion property: The minimum software version of the platform where this packet core version can be deployed.

Parameters:

minimumPlatformSoftwareVersion - the minimumPlatformSoftwareVersion value to set.

Returns:

the Platform object itself.

withObsoleteVersion

public Platform withObsoleteVersion(ObsoleteVersion obsoleteVersion)

Set the obsoleteVersion property: Indicates whether this version is obsoleted for this platform.

Parameters:

obsoleteVersion - the obsoleteVersion value to set.

Returns:

the Platform object itself.

withPlatformType

public Platform withPlatformType(PlatformType platformType)

Set the platformType property: The platform type where this version can be deployed.

Parameters:

platformType - the platformType value to set.

Returns:

the Platform object itself.

withRecommendedVersion

public Platform withRecommendedVersion(RecommendedVersion recommendedVersion)

Set the recommendedVersion property: Indicates whether this is the recommended version for this platform.

Parameters:

recommendedVersion - the recommendedVersion value to set.

Returns:

the Platform object itself.

withVersionState

public Platform withVersionState(VersionState versionState)

Set the versionState property: The state of this packet core control plane version on this platform.

Parameters:

versionState - the versionState value to set.

Returns:

the Platform object itself.

Applies to