NetworkManagerDeploymentStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatus

Implements

public final class NetworkManagerDeploymentStatus
implements JsonSerializable<NetworkManagerDeploymentStatus>

Network Manager Deployment Status.

Constructor Summary

Constructor Description
NetworkManagerDeploymentStatus()

Creates an instance of NetworkManagerDeploymentStatus class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime commitTime()

Get the commitTime property: Commit Time.

List<String> configurationIds()

Get the configurationIds property: List of configuration ids.

DeploymentStatus deploymentStatus()

Get the deploymentStatus property: Deployment Status.

ConfigurationType deploymentType()

Get the deploymentType property: Configuration Deployment Type.

String errorMessage()

Get the errorMessage property: Error Message.

static NetworkManagerDeploymentStatus fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerDeploymentStatus from the JsonReader.

String region()

Get the region property: Region Name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkManagerDeploymentStatus withCommitTime(OffsetDateTime commitTime)

Set the commitTime property: Commit Time.

NetworkManagerDeploymentStatus withConfigurationIds(List<String> configurationIds)

Set the configurationIds property: List of configuration ids.

NetworkManagerDeploymentStatus withDeploymentStatus(DeploymentStatus deploymentStatus)

Set the deploymentStatus property: Deployment Status.

NetworkManagerDeploymentStatus withDeploymentType(ConfigurationType deploymentType)

Set the deploymentType property: Configuration Deployment Type.

NetworkManagerDeploymentStatus withErrorMessage(String errorMessage)

Set the errorMessage property: Error Message.

NetworkManagerDeploymentStatus withRegion(String region)

Set the region property: Region Name.

Methods inherited from java.lang.Object

Constructor Details

NetworkManagerDeploymentStatus

public NetworkManagerDeploymentStatus()

Creates an instance of NetworkManagerDeploymentStatus class.

Method Details

commitTime

public OffsetDateTime commitTime()

Get the commitTime property: Commit Time.

Returns:

the commitTime value.

configurationIds

public List configurationIds()

Get the configurationIds property: List of configuration ids.

Returns:

the configurationIds value.

deploymentStatus

public DeploymentStatus deploymentStatus()

Get the deploymentStatus property: Deployment Status.

Returns:

the deploymentStatus value.

deploymentType

public ConfigurationType deploymentType()

Get the deploymentType property: Configuration Deployment Type.

Returns:

the deploymentType value.

errorMessage

public String errorMessage()

Get the errorMessage property: Error Message.

Returns:

the errorMessage value.

fromJson

public static NetworkManagerDeploymentStatus fromJson(JsonReader jsonReader)

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.

region

public String region()

Get the region property: Region Name.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCommitTime

public NetworkManagerDeploymentStatus withCommitTime(OffsetDateTime commitTime)

Set the commitTime property: Commit Time.

Parameters:

commitTime - the commitTime value to set.

Returns:

the NetworkManagerDeploymentStatus object itself.

withConfigurationIds

public NetworkManagerDeploymentStatus withConfigurationIds(List configurationIds)

Set the configurationIds property: List of configuration ids.

Parameters:

configurationIds - the configurationIds value to set.

Returns:

the NetworkManagerDeploymentStatus object itself.

withDeploymentStatus

public NetworkManagerDeploymentStatus withDeploymentStatus(DeploymentStatus deploymentStatus)

Set the deploymentStatus property: Deployment Status.

Parameters:

deploymentStatus - the deploymentStatus value to set.

Returns:

the NetworkManagerDeploymentStatus object itself.

withDeploymentType

public NetworkManagerDeploymentStatus withDeploymentType(ConfigurationType deploymentType)

Set the deploymentType property: Configuration Deployment Type.

Parameters:

deploymentType - the deploymentType value to set.

Returns:

the NetworkManagerDeploymentStatus object itself.

withErrorMessage

public NetworkManagerDeploymentStatus withErrorMessage(String errorMessage)

Set the errorMessage property: Error Message.

Parameters:

errorMessage - the errorMessage value to set.

Returns:

the NetworkManagerDeploymentStatus object itself.

withRegion

public NetworkManagerDeploymentStatus withRegion(String region)

Set the region property: Region Name.

Parameters:

region - the region value to set.

Returns:

the NetworkManagerDeploymentStatus object itself.

Applies to