CustomHostnameSitesInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. CustomHostnameSitesInner
- com.
- com.
- com.
public final class CustomHostnameSitesInner
extends ProxyOnlyResource
A hostname and its assigned sites.
Constructor Summary
Constructor | Description |
---|---|
CustomHostnameSitesInner() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
customHostname()
Get the custom |
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
region()
Get the region property: The region property. |
List<Identifier |
siteResourceIds()
Get the site |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Custom |
withCustomHostname(String customHostname)
Set the custom |
Custom |
withKind(String kind)
Set the kind property: Kind of resource. |
Custom |
withRegion(String region)
Set the region property: The region property. |
Custom |
withSiteResourceIds(List<IdentifierInner> siteResourceIds)
Set the site |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
CustomHostnameSitesInner
public CustomHostnameSitesInner()
Creates an instance of CustomHostnameSitesInner class.
Method Details
customHostname
public String customHostname()
Get the customHostname property: The customHostname property.
Returns:
fromJson
public static CustomHostnameSitesInner fromJson(JsonReader jsonReader)
Reads an instance of CustomHostnameSitesInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CustomHostnameSitesInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CustomHostnameSitesInner.name()Returns:
region
public String region()
Get the region property: The region property.
Returns:
siteResourceIds
public List
Get the siteResourceIds property: The siteResourceIds property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CustomHostnameSitesInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CustomHostnameSitesInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CustomHostnameSitesInner.validate()withCustomHostname
public CustomHostnameSitesInner withCustomHostname(String customHostname)
Set the customHostname property: The customHostname property.
Parameters:
Returns:
withKind
public CustomHostnameSitesInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
CustomHostnameSitesInner.withKind(String kind)Parameters:
withRegion
public CustomHostnameSitesInner withRegion(String region)
Set the region property: The region property.
Parameters:
Returns:
withSiteResourceIds
public CustomHostnameSitesInner withSiteResourceIds(List
Set the siteResourceIds property: The siteResourceIds property.
Parameters:
Returns:
Applies to
Azure SDK for Java