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

com.pulumi.digitalocean.kotlin.outputs.GetSpacesBucketResult.kt Maven / Gradle / Ivy

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

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getSpacesBucket.
 * @property bucketDomainName The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
 * @property endpoint The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name The name of the Spaces bucket
 * @property region The slug of the region where the bucket is stored.
 * @property urn The uniform resource name of the bucket
 */
public data class GetSpacesBucketResult(
    public val bucketDomainName: String,
    public val endpoint: String,
    public val id: String,
    public val name: String,
    public val region: String,
    public val urn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetSpacesBucketResult): GetSpacesBucketResult = GetSpacesBucketResult(
            bucketDomainName = javaType.bucketDomainName(),
            endpoint = javaType.endpoint(),
            id = javaType.id(),
            name = javaType.name(),
            region = javaType.region(),
            urn = javaType.urn(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy