DeploymentWhatIf Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. DeploymentWhatIf
- com.
Implements
public final class DeploymentWhatIf
implements JsonSerializable<DeploymentWhatIf>
Deployment What-if operation parameters.
Constructor Summary
Constructor | Description |
---|---|
DeploymentWhatIf() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
String |
location()
Get the location property: The location to store the deployment data. |
Deployment |
properties()
Get the properties property: The deployment properties. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Deployment |
withLocation(String location)
Set the location property: The location to store the deployment data. |
Deployment |
withProperties(DeploymentWhatIfProperties properties)
Set the properties property: The deployment properties. |
Methods inherited from java.lang.Object
Constructor Details
DeploymentWhatIf
public DeploymentWhatIf()
Creates an instance of DeploymentWhatIf class.
Method Details
fromJson
public static DeploymentWhatIf fromJson(JsonReader jsonReader)
Reads an instance of DeploymentWhatIf from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location to store the deployment data.
Returns:
properties
public DeploymentWhatIfProperties properties()
Get the properties property: The deployment properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public DeploymentWhatIf withLocation(String location)
Set the location property: The location to store the deployment data.
Parameters:
Returns:
withProperties
public DeploymentWhatIf withProperties(DeploymentWhatIfProperties properties)
Set the properties property: The deployment properties.
Parameters:
Returns:
Applies to
Azure SDK for Java