Class UploadCertificateRequest
java.lang.Object
com.azure.resourcemanager.databoxedge.models.UploadCertificateRequest
The upload certificate request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of UploadCertificateRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: The authentication type.Get the certificate property: The base64 encoded certificate raw data.void
validate()
Validates the instance.withAuthenticationType
(AuthenticationType authenticationType) Set the authenticationType property: The authentication type.withCertificate
(String certificate) Set the certificate property: The base64 encoded certificate raw data.
-
Constructor Details
-
UploadCertificateRequest
public UploadCertificateRequest()Creates an instance of UploadCertificateRequest class.
-
-
Method Details
-
authenticationType
Get the authenticationType property: The authentication type.- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: The authentication type.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the UploadCertificateRequest object itself.
-
certificate
Get the certificate property: The base64 encoded certificate raw data.- Returns:
- the certificate value.
-
withCertificate
Set the certificate property: The base64 encoded certificate raw data.- Parameters:
certificate
- the certificate value to set.- Returns:
- the UploadCertificateRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-