GetDropletSnapshotPlainArgs

data class GetDropletSnapshotPlainArgs(val mostRecent: Boolean? = null, val name: String? = null, val nameRegex: String? = null, val region: String? = null) : ConvertibleToJava<GetDropletSnapshotPlainArgs>

A collection of arguments for invoking getDropletSnapshot.

Constructors

Link copied to clipboard
constructor(mostRecent: Boolean? = null, name: String? = null, nameRegex: String? = null, region: String? = null)

Properties

Link copied to clipboard
val mostRecent: Boolean? = null

If more than one result is returned, use the most recent Droplet snapshot.

Link copied to clipboard
val name: String? = null

The name of the Droplet snapshot.

Link copied to clipboard
val nameRegex: String? = null

A regex string to apply to the Droplet snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.

Link copied to clipboard
val region: String? = null

A "slug" representing a DigitalOcean region (e.g. nyc1). If set, only Droplet snapshots available in the region will be returned.

Functions

Link copied to clipboard
open override fun toJava(): GetDropletSnapshotPlainArgs