![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datasync.kotlin.outputs.GetLocationHdfsResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin.outputs
import com.pulumi.awsnative.datasync.kotlin.enums.LocationHdfsAuthenticationType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property agentArns ARN(s) of the agent(s) to use for an HDFS location.
* @property authenticationType The authentication mode used to determine identity of user.
* @property blockSize Size of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster.
* @property kerberosPrincipal The unique identity, or principal, to which Kerberos can assign tickets.
* @property kmsKeyProviderUri The identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored.
* @property locationArn The Amazon Resource Name (ARN) of the HDFS location.
* @property locationUri The URL of the HDFS location that was described.
* @property nameNodes An array of Name Node(s) of the HDFS location.
* @property qopConfiguration The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `QopConfiguration` isn't specified, `RpcProtection` and `DataTransferProtection` default to `PRIVACY` . If you set `RpcProtection` or `DataTransferProtection` , the other parameter assumes the same value.
* @property replicationFactor Number of copies of each block that exists inside the HDFS cluster.
* @property simpleUser The user name that has read and write permissions on the specified HDFS cluster.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetLocationHdfsResult(
public val agentArns: List? = null,
public val authenticationType: LocationHdfsAuthenticationType? = null,
public val blockSize: Int? = null,
public val kerberosPrincipal: String? = null,
public val kmsKeyProviderUri: String? = null,
public val locationArn: String? = null,
public val locationUri: String? = null,
public val nameNodes: List? = null,
public val qopConfiguration: LocationHdfsQopConfiguration? = null,
public val replicationFactor: Int? = null,
public val simpleUser: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.GetLocationHdfsResult): GetLocationHdfsResult = GetLocationHdfsResult(
agentArns = javaType.agentArns().map({ args0 -> args0 }),
authenticationType = javaType.authenticationType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datasync.kotlin.enums.LocationHdfsAuthenticationType.Companion.toKotlin(args0)
})
}).orElse(null),
blockSize = javaType.blockSize().map({ args0 -> args0 }).orElse(null),
kerberosPrincipal = javaType.kerberosPrincipal().map({ args0 -> args0 }).orElse(null),
kmsKeyProviderUri = javaType.kmsKeyProviderUri().map({ args0 -> args0 }).orElse(null),
locationArn = javaType.locationArn().map({ args0 -> args0 }).orElse(null),
locationUri = javaType.locationUri().map({ args0 -> args0 }).orElse(null),
nameNodes = javaType.nameNodes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datasync.kotlin.outputs.LocationHdfsNameNode.Companion.toKotlin(args0)
})
}),
qopConfiguration = javaType.qopConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datasync.kotlin.outputs.LocationHdfsQopConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
replicationFactor = javaType.replicationFactor().map({ args0 -> args0 }).orElse(null),
simpleUser = javaType.simpleUser().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy