Share via


GetTdeCertificatesSqlTaskInput Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.GetTdeCertificatesSqlTaskInput

Implements

public final class GetTdeCertificatesSqlTaskInput
implements JsonSerializable<GetTdeCertificatesSqlTaskInput>

Input for the task that gets TDE certificates in Base64 encoded format.

Constructor Summary

Constructor Description
GetTdeCertificatesSqlTaskInput()

Creates an instance of GetTdeCertificatesSqlTaskInput class.

Method Summary

Modifier and Type Method and Description
FileShare backupFileShare()

Get the backupFileShare property: Backup file share information for file share to be used for temporarily storing files.

SqlConnectionInfo connectionInfo()

Get the connectionInfo property: Connection information for SQL Server.

static GetTdeCertificatesSqlTaskInput fromJson(JsonReader jsonReader)

Reads an instance of GetTdeCertificatesSqlTaskInput from the JsonReader.

List<SelectedCertificateInput> selectedCertificates()

Get the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GetTdeCertificatesSqlTaskInput withBackupFileShare(FileShare backupFileShare)

Set the backupFileShare property: Backup file share information for file share to be used for temporarily storing files.

GetTdeCertificatesSqlTaskInput withConnectionInfo(SqlConnectionInfo connectionInfo)

Set the connectionInfo property: Connection information for SQL Server.

GetTdeCertificatesSqlTaskInput withSelectedCertificates(List<SelectedCertificateInput> selectedCertificates)

Set the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.

Methods inherited from java.lang.Object

Constructor Details

GetTdeCertificatesSqlTaskInput

public GetTdeCertificatesSqlTaskInput()

Creates an instance of GetTdeCertificatesSqlTaskInput class.

Method Details

backupFileShare

public FileShare backupFileShare()

Get the backupFileShare property: Backup file share information for file share to be used for temporarily storing files.

Returns:

the backupFileShare value.

connectionInfo

public SqlConnectionInfo connectionInfo()

Get the connectionInfo property: Connection information for SQL Server.

Returns:

the connectionInfo value.

fromJson

public static GetTdeCertificatesSqlTaskInput fromJson(JsonReader jsonReader)

Reads an instance of GetTdeCertificatesSqlTaskInput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GetTdeCertificatesSqlTaskInput if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

selectedCertificates

public List<SelectedCertificateInput> selectedCertificates()

Get the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.

Returns:

the selectedCertificates value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBackupFileShare

public GetTdeCertificatesSqlTaskInput withBackupFileShare(FileShare backupFileShare)

Set the backupFileShare property: Backup file share information for file share to be used for temporarily storing files.

Parameters:

backupFileShare - the backupFileShare value to set.

Returns:

the GetTdeCertificatesSqlTaskInput object itself.

withConnectionInfo

public GetTdeCertificatesSqlTaskInput withConnectionInfo(SqlConnectionInfo connectionInfo)

Set the connectionInfo property: Connection information for SQL Server.

Parameters:

connectionInfo - the connectionInfo value to set.

Returns:

the GetTdeCertificatesSqlTaskInput object itself.

withSelectedCertificates

public GetTdeCertificatesSqlTaskInput withSelectedCertificates(List<SelectedCertificateInput> selectedCertificates)

Set the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.

Parameters:

selectedCertificates - the selectedCertificates value to set.

Returns:

the GetTdeCertificatesSqlTaskInput object itself.

Applies to