All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.netapp.kotlin.outputs.ReplicationResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.netapp.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Replication properties
 * @property endpointType Indicates whether the local volume is the source or destination for the Volume Replication
 * @property remoteVolumeRegion The remote region for the other end of the Volume Replication.
 * @property remoteVolumeResourceId The resource ID of the remote volume.
 * @property replicationSchedule Schedule
 */
public data class ReplicationResponse(
    public val endpointType: String? = null,
    public val remoteVolumeRegion: String? = null,
    public val remoteVolumeResourceId: String,
    public val replicationSchedule: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.netapp.outputs.ReplicationResponse): ReplicationResponse = ReplicationResponse(
            endpointType = javaType.endpointType().map({ args0 -> args0 }).orElse(null),
            remoteVolumeRegion = javaType.remoteVolumeRegion().map({ args0 -> args0 }).orElse(null),
            remoteVolumeResourceId = javaType.remoteVolumeResourceId(),
            replicationSchedule = javaType.replicationSchedule().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy