UploadCertificateRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.databoxedge.models.UploadCertificateRequest

public final class UploadCertificateRequest

The upload certificate request.

Constructor Summary

Constructor Description
UploadCertificateRequest()

Creates an instance of UploadCertificateRequest class.

Method Summary

Modifier and Type Method and Description
AuthenticationType authenticationType()

Get the authenticationType property: The authentication type.

String certificate()

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

void validate()

Validates the instance.

UploadCertificateRequest withAuthenticationType(AuthenticationType authenticationType)

Set the authenticationType property: The authentication type.

UploadCertificateRequest 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:

the authenticationType value.

certificate

public String certificate()

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

Returns:

the certificate value.

validate

public void validate()

Validates the instance.

withAuthenticationType

public UploadCertificateRequest withAuthenticationType(AuthenticationType authenticationType)

Set the authenticationType property: The authentication type.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the UploadCertificateRequest object itself.

withCertificate

public UploadCertificateRequest withCertificate(String certificate)

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

Parameters:

certificate - the certificate value to set.

Returns:

the UploadCertificateRequest object itself.

Applies to