Certificate Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. Certificate
- com.
Implements
public final class Certificate
implements JsonSerializable<Certificate>
The Certificate model.
Constructor Summary
Constructor | Description |
---|---|
Certificate() |
Creates an instance of Certificate class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Certificate |
fromJson(JsonReader jsonReader)
Reads an instance of Certificate from the Json |
String |
pem()
Get the pem property: PEM formatted public key. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Certificate |
withPem(String pem)
Set the pem property: PEM formatted public key. |
Methods inherited from java.lang.Object
Constructor Details
Certificate
public Certificate()
Creates an instance of Certificate class.
Method Details
fromJson
public static Certificate fromJson(JsonReader jsonReader)
Reads an instance of Certificate from the JsonReader.
Parameters:
Returns:
Throws:
pem
public String pem()
Get the pem property: PEM formatted public key.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPem
public Certificate withPem(String pem)
Set the pem property: PEM formatted public key.
Parameters:
Returns:
Applies to
Azure SDK for Java