HostingEnvironmentDeploymentInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.HostingEnvironmentDeploymentInfo

Implements

public final class HostingEnvironmentDeploymentInfo
implements JsonSerializable<HostingEnvironmentDeploymentInfo>

Information needed to create resources on an App Service Environment.

Constructor Summary

Constructor Description
HostingEnvironmentDeploymentInfo()

Creates an instance of HostingEnvironmentDeploymentInfo class.

Method Summary

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

Reads an instance of HostingEnvironmentDeploymentInfo from the JsonReader.

String location()

Get the location property: Location of the App Service Environment.

String name()

Get the name property: Name of the App Service Environment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HostingEnvironmentDeploymentInfo withLocation(String location)

Set the location property: Location of the App Service Environment.

HostingEnvironmentDeploymentInfo withName(String name)

Set the name property: Name of the App Service Environment.

Methods inherited from java.lang.Object

Constructor Details

HostingEnvironmentDeploymentInfo

public HostingEnvironmentDeploymentInfo()

Creates an instance of HostingEnvironmentDeploymentInfo class.

Method Details

fromJson

public static HostingEnvironmentDeploymentInfo fromJson(JsonReader jsonReader)

Reads an instance of HostingEnvironmentDeploymentInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

location

public String location()

Get the location property: Location of the App Service Environment.

Returns:

the location value.

name

public String name()

Get the name property: Name of the App Service Environment.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLocation

public HostingEnvironmentDeploymentInfo withLocation(String location)

Set the location property: Location of the App Service Environment.

Parameters:

location - the location value to set.

Returns:

the HostingEnvironmentDeploymentInfo object itself.

withName

public HostingEnvironmentDeploymentInfo withName(String name)

Set the name property: Name of the App Service Environment.

Parameters:

name - the name value to set.

Returns:

the HostingEnvironmentDeploymentInfo object itself.

Applies to