HostingEnvironmentProfile Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. HostingEnvironmentProfile
- com.
Implements
public final class HostingEnvironmentProfile
implements JsonSerializable<HostingEnvironmentProfile>
Specification for an App Service Environment to use for this resource.
Constructor Summary
Constructor | Description |
---|---|
HostingEnvironmentProfile() |
Creates an instance of Hosting |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Hosting |
fromJson(JsonReader jsonReader)
Reads an instance of Hosting |
String |
id()
Get the id property: Resource ID of the App Service Environment. |
String |
name()
Get the name property: Name of the App Service Environment. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type of the App Service Environment. |
void |
validate()
Validates the instance. |
Hosting |
withId(String id)
Set the id property: Resource ID of the App Service Environment. |
Methods inherited from java.lang.Object
Constructor Details
HostingEnvironmentProfile
public HostingEnvironmentProfile()
Creates an instance of HostingEnvironmentProfile class.
Method Details
fromJson
public static HostingEnvironmentProfile fromJson(JsonReader jsonReader)
Reads an instance of HostingEnvironmentProfile from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID of the App Service Environment.
Returns:
name
public String name()
Get the name property: Name of the App Service Environment.
Returns:
toJson
type
public String type()
Get the type property: Resource type of the App Service Environment.
Returns:
validate
public void validate()
Validates the instance.
withId
public HostingEnvironmentProfile withId(String id)
Set the id property: Resource ID of the App Service Environment.
Parameters:
Returns:
Applies to
Azure SDK for Java