UploadCertificateRequest Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. UploadCertificateRequest
- com.
Implements
public final class UploadCertificateRequest
implements JsonSerializable<UploadCertificateRequest>
The upload certificate request.
Constructor Summary
| Constructor | Description |
|---|---|
| UploadCertificateRequest() |
Creates an instance of Upload |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Authentication |
authenticationType()
Get the authentication |
| String |
certificate()
Get the certificate property: The base64 encoded certificate raw data. |
|
static
Upload |
fromJson(JsonReader jsonReader)
Reads an instance of Upload |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Upload |
withAuthenticationType(AuthenticationType authenticationType)
Set the authentication |
|
Upload |
withCertificate(String certificate)
Set the certificate property: The base64 encoded certificate raw data. |
Methods inherited from java.lang.Object
Constructor Details
UploadCertificateRequest
public UploadCertificateRequest()
Creates an instance of UploadCertificateRequest class.
Method Details
authenticationType
public AuthenticationType authenticationType()
Get the authenticationType property: The authentication type.
Returns:
certificate
public String certificate()
Get the certificate property: The base64 encoded certificate raw data.
Returns:
fromJson
public static UploadCertificateRequest fromJson(JsonReader jsonReader)
Reads an instance of UploadCertificateRequest from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAuthenticationType
public UploadCertificateRequest withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: The authentication type.
Parameters:
Returns:
withCertificate
public UploadCertificateRequest withCertificate(String certificate)
Set the certificate property: The base64 encoded certificate raw data.
Parameters:
Returns: