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

com.pulumi.awsnative.ec2.kotlin.outputs.GetVpcEndpointServiceResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ec2.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property acceptanceRequired Indicates whether requests from service consumers to create an endpoint to your service must be accepted.
 * @property gatewayLoadBalancerArns The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
 * @property networkLoadBalancerArns The Amazon Resource Names (ARNs) of the Network Load Balancers.
 * @property payerResponsibility The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
 * @property serviceId The ID of the endpoint service.
 */
public data class GetVpcEndpointServiceResult(
    public val acceptanceRequired: Boolean? = null,
    public val gatewayLoadBalancerArns: List? = null,
    public val networkLoadBalancerArns: List? = null,
    public val payerResponsibility: String? = null,
    public val serviceId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetVpcEndpointServiceResult): GetVpcEndpointServiceResult = GetVpcEndpointServiceResult(
            acceptanceRequired = javaType.acceptanceRequired().map({ args0 -> args0 }).orElse(null),
            gatewayLoadBalancerArns = javaType.gatewayLoadBalancerArns().map({ args0 -> args0 }),
            networkLoadBalancerArns = javaType.networkLoadBalancerArns().map({ args0 -> args0 }),
            payerResponsibility = javaType.payerResponsibility().map({ args0 -> args0 }).orElse(null),
            serviceId = javaType.serviceId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy