CdnCertificateSourceParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. CdnCertificateSourceParameters
- com.
Implements
public final class CdnCertificateSourceParameters
implements JsonSerializable<CdnCertificateSourceParameters>
Defines the parameters for using CDN managed certificate for securing custom domain.
Constructor Summary
| Constructor | Description |
|---|---|
| CdnCertificateSourceParameters() |
Creates an instance of Cdn |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Certificate |
certificateType()
Get the certificate |
|
static
Cdn |
fromJson(JsonReader jsonReader)
Reads an instance of Cdn |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
typeName()
Get the type |
| void |
validate()
Validates the instance. |
|
Cdn |
withCertificateType(CertificateType certificateType)
Set the certificate |
|
Cdn |
withTypeName(String typeName)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
CdnCertificateSourceParameters
public CdnCertificateSourceParameters()
Creates an instance of CdnCertificateSourceParameters class.
Method Details
certificateType
public CertificateType certificateType()
Get the certificateType property: Type of certificate used.
Returns:
fromJson
public static CdnCertificateSourceParameters fromJson(JsonReader jsonReader)
Reads an instance of CdnCertificateSourceParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
typeName
public String typeName()
Get the typeName property: The typeName property.
Returns:
validate
public void validate()
Validates the instance.
withCertificateType
public CdnCertificateSourceParameters withCertificateType(CertificateType certificateType)
Set the certificateType property: Type of certificate used.
Parameters:
Returns:
withTypeName
public CdnCertificateSourceParameters withTypeName(String typeName)
Set the typeName property: The typeName property.
Parameters:
Returns: