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

com.pulumi.meraki.devices.inputs.GetCameraVideoLinkPlainArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.meraki.devices.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetCameraVideoLinkPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCameraVideoLinkPlainArgs Empty = new GetCameraVideoLinkPlainArgs();

    /**
     * serial path parameter.
     * 
     */
    @Import(name="serial", required=true)
    private String serial;

    /**
     * @return serial path parameter.
     * 
     */
    public String serial() {
        return this.serial;
    }

    /**
     * timestamp query parameter. [optional] The video link will start at this time. The timestamp should be a string in ISO8601 format. If no timestamp is specified, we will assume current time.
     * 
     */
    @Import(name="timestamp")
    private @Nullable String timestamp;

    /**
     * @return timestamp query parameter. [optional] The video link will start at this time. The timestamp should be a string in ISO8601 format. If no timestamp is specified, we will assume current time.
     * 
     */
    public Optional timestamp() {
        return Optional.ofNullable(this.timestamp);
    }

    private GetCameraVideoLinkPlainArgs() {}

    private GetCameraVideoLinkPlainArgs(GetCameraVideoLinkPlainArgs $) {
        this.serial = $.serial;
        this.timestamp = $.timestamp;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetCameraVideoLinkPlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetCameraVideoLinkPlainArgs $;

        public Builder() {
            $ = new GetCameraVideoLinkPlainArgs();
        }

        public Builder(GetCameraVideoLinkPlainArgs defaults) {
            $ = new GetCameraVideoLinkPlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param serial serial path parameter.
         * 
         * @return builder
         * 
         */
        public Builder serial(String serial) {
            $.serial = serial;
            return this;
        }

        /**
         * @param timestamp timestamp query parameter. [optional] The video link will start at this time. The timestamp should be a string in ISO8601 format. If no timestamp is specified, we will assume current time.
         * 
         * @return builder
         * 
         */
        public Builder timestamp(@Nullable String timestamp) {
            $.timestamp = timestamp;
            return this;
        }

        public GetCameraVideoLinkPlainArgs build() {
            if ($.serial == null) {
                throw new MissingRequiredPropertyException("GetCameraVideoLinkPlainArgs", "serial");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy