DeploymentResourceWhatIfPrediction Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.DeploymentResourceWhatIfPrediction

Implements

public final class DeploymentResourceWhatIfPrediction
implements JsonSerializable<DeploymentResourceWhatIfPrediction>

A prediction for a deployment resource by its symbolic name path.

Constructor Summary

Constructor Description
DeploymentResourceWhatIfPrediction()

Creates an instance of DeploymentResourceWhatIfPrediction class.

Method Summary

Modifier and Type Method and Description
String apiVersion()

Get the apiVersion property: The predicted API version.

DeploymentExtensionDefinition extension()

Get the extension property: The predicted extension usage.

static DeploymentResourceWhatIfPrediction fromJson(JsonReader jsonReader)

Reads an instance of DeploymentResourceWhatIfPrediction from the JsonReader.

BinaryData identifiers()

Get the identifiers property: The predicted extensible resource identifiers.

String resourceId()

Get the resourceId property: The predicted fully-qualified Azure resource ID.

String resourceType()

Get the resourceType property: The predicted resource type.

List<String> symbolicNamePath()

Get the symbolicNamePath property: The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.

JsonWriter toJson(JsonWriter jsonWriter)
DeploymentResourceWhatIfPrediction withApiVersion(String apiVersion)

Set the apiVersion property: The predicted API version.

DeploymentResourceWhatIfPrediction withExtension(DeploymentExtensionDefinition extension)

Set the extension property: The predicted extension usage.

DeploymentResourceWhatIfPrediction withIdentifiers(BinaryData identifiers)

Set the identifiers property: The predicted extensible resource identifiers.

DeploymentResourceWhatIfPrediction withResourceId(String resourceId)

Set the resourceId property: The predicted fully-qualified Azure resource ID.

DeploymentResourceWhatIfPrediction withResourceType(String resourceType)

Set the resourceType property: The predicted resource type.

DeploymentResourceWhatIfPrediction withSymbolicNamePath(List<String> symbolicNamePath)

Set the symbolicNamePath property: The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.

Methods inherited from java.lang.Object

Constructor Details

DeploymentResourceWhatIfPrediction

public DeploymentResourceWhatIfPrediction()

Creates an instance of DeploymentResourceWhatIfPrediction class.

Method Details

apiVersion

public String apiVersion()

Get the apiVersion property: The predicted API version.

Returns:

the apiVersion value.

extension

public DeploymentExtensionDefinition extension()

Get the extension property: The predicted extension usage.

Returns:

the extension value.

fromJson

public static DeploymentResourceWhatIfPrediction fromJson(JsonReader jsonReader)

Reads an instance of DeploymentResourceWhatIfPrediction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

identifiers

public BinaryData identifiers()

Get the identifiers property: The predicted extensible resource identifiers.

Returns:

the identifiers value.

resourceId

public String resourceId()

Get the resourceId property: The predicted fully-qualified Azure resource ID.

Returns:

the resourceId value.

resourceType

public String resourceType()

Get the resourceType property: The predicted resource type.

Returns:

the resourceType value.

symbolicNamePath

public List<String> symbolicNamePath()

Get the symbolicNamePath property: The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.

Returns:

the symbolicNamePath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withApiVersion

public DeploymentResourceWhatIfPrediction withApiVersion(String apiVersion)

Set the apiVersion property: The predicted API version.

Parameters:

apiVersion - the apiVersion value to set.

Returns:

the DeploymentResourceWhatIfPrediction object itself.

withExtension

public DeploymentResourceWhatIfPrediction withExtension(DeploymentExtensionDefinition extension)

Set the extension property: The predicted extension usage.

Parameters:

extension - the extension value to set.

Returns:

the DeploymentResourceWhatIfPrediction object itself.

withIdentifiers

public DeploymentResourceWhatIfPrediction withIdentifiers(BinaryData identifiers)

Set the identifiers property: The predicted extensible resource identifiers.

Parameters:

identifiers - the identifiers value to set.

Returns:

the DeploymentResourceWhatIfPrediction object itself.

withResourceId

public DeploymentResourceWhatIfPrediction withResourceId(String resourceId)

Set the resourceId property: The predicted fully-qualified Azure resource ID.

Parameters:

resourceId - the resourceId value to set.

Returns:

the DeploymentResourceWhatIfPrediction object itself.

withResourceType

public DeploymentResourceWhatIfPrediction withResourceType(String resourceType)

Set the resourceType property: The predicted resource type.

Parameters:

resourceType - the resourceType value to set.

Returns:

the DeploymentResourceWhatIfPrediction object itself.

withSymbolicNamePath

public DeploymentResourceWhatIfPrediction withSymbolicNamePath(List<String> symbolicNamePath)

Set the symbolicNamePath property: The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.

Parameters:

symbolicNamePath - the symbolicNamePath value to set.

Returns:

the DeploymentResourceWhatIfPrediction object itself.

Applies to