Class RawCertificateData
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.RawCertificateData
Raw certificate data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthType()
Get the authType property: Specifies the authentication type.byte[]
Get the certificate property: The base64 encoded certificate raw data string.void
validate()
Validates the instance.withAuthType
(AuthType authType) Set the authType property: Specifies the authentication type.withCertificate
(byte[] certificate) Set the certificate property: The base64 encoded certificate raw data string.
-
Constructor Details
-
RawCertificateData
public RawCertificateData()
-
-
Method Details
-
authType
Get the authType property: Specifies the authentication type.- Returns:
- the authType value.
-
withAuthType
Set the authType property: Specifies the authentication type.- Parameters:
authType
- the authType value to set.- Returns:
- the RawCertificateData object itself.
-
certificate
public byte[] certificate()Get the certificate property: The base64 encoded certificate raw data string.- Returns:
- the certificate value.
-
withCertificate
Set the certificate property: The base64 encoded certificate raw data string.- Parameters:
certificate
- the certificate value to set.- Returns:
- the RawCertificateData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-