Class PublicCertificateProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.PublicCertificateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PublicCertificateProperties>
public final class PublicCertificateProperties
extends Object
implements com.azure.json.JsonSerializable<PublicCertificateProperties>
PublicCertificate resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PublicCertificateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]blob()Get the blob property: Public Certificate byte array.static PublicCertificatePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PublicCertificateProperties from the JsonReader.Get the publicCertificateLocation property: Public Certificate Location.Get the thumbprint property: Certificate Thumbprint.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBlob(byte[] blob) Set the blob property: Public Certificate byte array.withPublicCertificateLocation(PublicCertificateLocation publicCertificateLocation) Set the publicCertificateLocation property: Public Certificate Location.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PublicCertificateProperties
public PublicCertificateProperties()Creates an instance of PublicCertificateProperties class.
-
-
Method Details
-
blob
public byte[] blob()Get the blob property: Public Certificate byte array.- Returns:
- the blob value.
-
withBlob
Set the blob property: Public Certificate byte array.- Parameters:
blob- the blob value to set.- Returns:
- the PublicCertificateProperties object itself.
-
publicCertificateLocation
Get the publicCertificateLocation property: Public Certificate Location.- Returns:
- the publicCertificateLocation value.
-
withPublicCertificateLocation
public PublicCertificateProperties withPublicCertificateLocation(PublicCertificateLocation publicCertificateLocation) Set the publicCertificateLocation property: Public Certificate Location.- Parameters:
publicCertificateLocation- the publicCertificateLocation value to set.- Returns:
- the PublicCertificateProperties object itself.
-
thumbprint
Get the thumbprint property: Certificate Thumbprint.- Returns:
- the thumbprint value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PublicCertificateProperties>- Throws:
IOException
-
fromJson
public static PublicCertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PublicCertificateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PublicCertificateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the PublicCertificateProperties.
-