Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.databox.kotlin.inputs
import com.pulumi.azurenative.databox.inputs.DataBoxJobDetailsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Databox Job Details
* @property contactDetails Contact details for notification and shipping.
* @property dataExportDetails Details of the data to be exported from azure.
* @property dataImportDetails Details of the data to be imported into azure.
* @property devicePassword Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+
* @property expectedDataSizeInTeraBytes The expected size of the data, which needs to be transferred in this job, in terabytes.
* @property jobDetailsType Indicates the type of job details.
* Expected value is 'DataBox'.
* @property keyEncryptionKey Details about which key encryption type is being used.
* @property preferences Preferences for the order.
* @property reverseShippingDetails Optional Reverse Shipping details for order.
* @property shippingAddress Shipping address of the customer.
*/
public data class DataBoxJobDetailsArgs(
public val contactDetails: Output,
public val dataExportDetails: Output>? = null,
public val dataImportDetails: Output>? = null,
public val devicePassword: Output? = null,
public val expectedDataSizeInTeraBytes: Output? = null,
public val jobDetailsType: Output,
public val keyEncryptionKey: Output? = null,
public val preferences: Output? = null,
public val reverseShippingDetails: Output? = null,
public val shippingAddress: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.databox.inputs.DataBoxJobDetailsArgs =
com.pulumi.azurenative.databox.inputs.DataBoxJobDetailsArgs.builder()
.contactDetails(contactDetails.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dataExportDetails(
dataExportDetails?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.dataImportDetails(
dataImportDetails?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.devicePassword(devicePassword?.applyValue({ args0 -> args0 }))
.expectedDataSizeInTeraBytes(expectedDataSizeInTeraBytes?.applyValue({ args0 -> args0 }))
.jobDetailsType(jobDetailsType.applyValue({ args0 -> args0 }))
.keyEncryptionKey(keyEncryptionKey?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.preferences(preferences?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.reverseShippingDetails(
reverseShippingDetails?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.shippingAddress(
shippingAddress?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DataBoxJobDetailsArgs].
*/
@PulumiTagMarker
public class DataBoxJobDetailsArgsBuilder internal constructor() {
private var contactDetails: Output? = null
private var dataExportDetails: Output>? = null
private var dataImportDetails: Output>? = null
private var devicePassword: Output? = null
private var expectedDataSizeInTeraBytes: Output? = null
private var jobDetailsType: Output? = null
private var keyEncryptionKey: Output? = null
private var preferences: Output? = null
private var reverseShippingDetails: Output? = null
private var shippingAddress: Output? = null
/**
* @param value Contact details for notification and shipping.
*/
@JvmName("caxrwlewxipdyrgq")
public suspend fun contactDetails(`value`: Output) {
this.contactDetails = value
}
/**
* @param value Details of the data to be exported from azure.
*/
@JvmName("lmlsppfuqlxnhpmw")
public suspend fun dataExportDetails(`value`: Output>) {
this.dataExportDetails = value
}
@JvmName("qvxsgipqsjjvlgev")
public suspend fun dataExportDetails(vararg values: Output) {
this.dataExportDetails = Output.all(values.asList())
}
/**
* @param values Details of the data to be exported from azure.
*/
@JvmName("tiumpjoilrsplrcy")
public suspend fun dataExportDetails(values: List