CustomDomain Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. CustomDomain
- com.
Implements
public final class CustomDomain
implements JsonSerializable<CustomDomain>
Custom Domain of a Container App.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomDomain() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Binding |
bindingType()
Get the binding |
| String |
certificateId()
Get the certificate |
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| String |
name()
Get the name property: Hostname. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Custom |
withBindingType(BindingType bindingType)
Set the binding |
|
Custom |
withCertificateId(String certificateId)
Set the certificate |
|
Custom |
withName(String name)
Set the name property: Hostname. |
Methods inherited from java.lang.Object
Constructor Details
CustomDomain
public CustomDomain()
Creates an instance of CustomDomain class.
Method Details
bindingType
public BindingType bindingType()
Get the bindingType property: Custom Domain binding type.
Returns:
certificateId
public String certificateId()
Get the certificateId property: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
Returns:
fromJson
public static CustomDomain fromJson(JsonReader jsonReader)
Reads an instance of CustomDomain from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Hostname.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBindingType
public CustomDomain withBindingType(BindingType bindingType)
Set the bindingType property: Custom Domain binding type.
Parameters:
Returns:
withCertificateId
public CustomDomain withCertificateId(String certificateId)
Set the certificateId property: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
Parameters:
Returns:
withName
public CustomDomain withName(String name)
Set the name property: Hostname.
Parameters:
Returns: