RawCertificateData Class

  • java.lang.Object
    • com.azure.resourcemanager.recoveryservices.models.RawCertificateData

public final class RawCertificateData

Raw certificate data.

Constructor Summary

Constructor Description
RawCertificateData()

Creates an instance of RawCertificateData class.

Method Summary

Modifier and Type Method and Description
AuthType authType()

Get the authType property: Specifies the authentication type.

byte[] certificate()

Get the certificate property: The base64 encoded certificate raw data string.

void validate()

Validates the instance.

RawCertificateData withAuthType(AuthType authType)

Set the authType property: Specifies the authentication type.

RawCertificateData withCertificate(byte[] certificate)

Set the certificate property: The base64 encoded certificate raw data string.

Methods inherited from java.lang.Object

Constructor Details

RawCertificateData

public RawCertificateData()

Creates an instance of RawCertificateData class.

Method Details

authType

public AuthType authType()

Get the authType property: Specifies the authentication type.

Returns:

the authType value.

certificate

public byte[] certificate()

Get the certificate property: The base64 encoded certificate raw data string.

Returns:

the certificate value.

validate

public void validate()

Validates the instance.

withAuthType

public RawCertificateData withAuthType(AuthType authType)

Set the authType property: Specifies the authentication type.

Parameters:

authType - the authType value to set.

Returns:

the RawCertificateData object itself.

withCertificate

public RawCertificateData withCertificate(byte[] certificate)

Set the certificate property: The base64 encoded certificate raw data string.

Parameters:

certificate - the certificate value to set.

Returns:

the RawCertificateData object itself.

Applies to