Class NetworkManagerDeploymentStatus
java.lang.Object
com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatus
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkManagerDeploymentStatus>
public final class NetworkManagerDeploymentStatus
extends Object
implements com.azure.json.JsonSerializable<NetworkManagerDeploymentStatus>
Network Manager Deployment Status.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkManagerDeploymentStatus class. -
Method Summary
Modifier and TypeMethodDescriptionGet the commitTime property: Commit Time.Get the configurationIds property: List of configuration ids.Get the deploymentStatus property: Deployment Status.Get the deploymentType property: Configuration Deployment Type.Get the errorMessage property: Error Message.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkManagerDeploymentStatus from the JsonReader.region()
Get the region property: Region Name.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCommitTime
(OffsetDateTime commitTime) Set the commitTime property: Commit Time.withConfigurationIds
(List<String> configurationIds) Set the configurationIds property: List of configuration ids.withDeploymentStatus
(DeploymentStatus deploymentStatus) Set the deploymentStatus property: Deployment Status.withDeploymentType
(ConfigurationType deploymentType) Set the deploymentType property: Configuration Deployment Type.withErrorMessage
(String errorMessage) Set the errorMessage property: Error Message.withRegion
(String region) Set the region property: Region Name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkManagerDeploymentStatus
public NetworkManagerDeploymentStatus()Creates an instance of NetworkManagerDeploymentStatus class.
-
-
Method Details
-
commitTime
Get the commitTime property: Commit Time.- Returns:
- the commitTime value.
-
withCommitTime
Set the commitTime property: Commit Time.- Parameters:
commitTime
- the commitTime value to set.- Returns:
- the NetworkManagerDeploymentStatus object itself.
-
region
Get the region property: Region Name.- Returns:
- the region value.
-
withRegion
Set the region property: Region Name.- Parameters:
region
- the region value to set.- Returns:
- the NetworkManagerDeploymentStatus object itself.
-
deploymentStatus
Get the deploymentStatus property: Deployment Status.- Returns:
- the deploymentStatus value.
-
withDeploymentStatus
Set the deploymentStatus property: Deployment Status.- Parameters:
deploymentStatus
- the deploymentStatus value to set.- Returns:
- the NetworkManagerDeploymentStatus object itself.
-
configurationIds
Get the configurationIds property: List of configuration ids.- Returns:
- the configurationIds value.
-
withConfigurationIds
Set the configurationIds property: List of configuration ids.- Parameters:
configurationIds
- the configurationIds value to set.- Returns:
- the NetworkManagerDeploymentStatus object itself.
-
deploymentType
Get the deploymentType property: Configuration Deployment Type.- Returns:
- the deploymentType value.
-
withDeploymentType
Set the deploymentType property: Configuration Deployment Type.- Parameters:
deploymentType
- the deploymentType value to set.- Returns:
- the NetworkManagerDeploymentStatus object itself.
-
errorMessage
Get the errorMessage property: Error Message.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: Error Message.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the NetworkManagerDeploymentStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<NetworkManagerDeploymentStatus>
- Throws:
IOException
-
fromJson
public static NetworkManagerDeploymentStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkManagerDeploymentStatus from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of NetworkManagerDeploymentStatus 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 NetworkManagerDeploymentStatus.
-