Class CustomDomain
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.CustomDomain
-
public final class CustomDomain extends Object
Custom Domain of a Container App.
-
-
Constructor Summary
Constructors Constructor Description CustomDomain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingType
bindingType()
Get the bindingType property: Custom Domain binding type.String
certificateId()
Get the certificateId property: Resource Id of the Certificate to be bound to this hostname.String
name()
Get the name property: Hostname.void
validate()
Validates the instance.CustomDomain
withBindingType(BindingType bindingType)
Set the bindingType property: Custom Domain binding type.CustomDomain
withCertificateId(String certificateId)
Set the certificateId property: Resource Id of the Certificate to be bound to this hostname.CustomDomain
withName(String name)
Set the name property: Hostname.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Hostname.- Returns:
- the name value.
-
withName
public CustomDomain withName(String name)
Set the name property: Hostname.- Parameters:
name
- the name value to set.- Returns:
- the CustomDomain object itself.
-
bindingType
public BindingType bindingType()
Get the bindingType property: Custom Domain binding type.- Returns:
- the bindingType value.
-
withBindingType
public CustomDomain withBindingType(BindingType bindingType)
Set the bindingType property: Custom Domain binding type.- Parameters:
bindingType
- the bindingType value to set.- Returns:
- the CustomDomain object itself.
-
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:
- the certificateId value.
-
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:
certificateId
- the certificateId value to set.- Returns:
- the CustomDomain object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-