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

com.pulumi.googlenative.contentwarehouse.v1.inputs.GoogleCloudContentwarehouseV1DateTimeArrayArgs Maven / Gradle / Ivy

// *** 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.googlenative.contentwarehouse.v1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.contentwarehouse.v1.inputs.GoogleTypeDateTimeArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * DateTime values.
 * 
 */
public final class GoogleCloudContentwarehouseV1DateTimeArrayArgs extends com.pulumi.resources.ResourceArgs {

    public static final GoogleCloudContentwarehouseV1DateTimeArrayArgs Empty = new GoogleCloudContentwarehouseV1DateTimeArrayArgs();

    /**
     * List of datetime values. Both OffsetDateTime and ZonedDateTime are supported.
     * 
     */
    @Import(name="values")
    private @Nullable Output> values;

    /**
     * @return List of datetime values. Both OffsetDateTime and ZonedDateTime are supported.
     * 
     */
    public Optional>> values() {
        return Optional.ofNullable(this.values);
    }

    private GoogleCloudContentwarehouseV1DateTimeArrayArgs() {}

    private GoogleCloudContentwarehouseV1DateTimeArrayArgs(GoogleCloudContentwarehouseV1DateTimeArrayArgs $) {
        this.values = $.values;
    }

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

    public static final class Builder {
        private GoogleCloudContentwarehouseV1DateTimeArrayArgs $;

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

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

        /**
         * @param values List of datetime values. Both OffsetDateTime and ZonedDateTime are supported.
         * 
         * @return builder
         * 
         */
        public Builder values(@Nullable Output> values) {
            $.values = values;
            return this;
        }

        /**
         * @param values List of datetime values. Both OffsetDateTime and ZonedDateTime are supported.
         * 
         * @return builder
         * 
         */
        public Builder values(List values) {
            return values(Output.of(values));
        }

        /**
         * @param values List of datetime values. Both OffsetDateTime and ZonedDateTime are supported.
         * 
         * @return builder
         * 
         */
        public Builder values(GoogleTypeDateTimeArgs... values) {
            return values(List.of(values));
        }

        public GoogleCloudContentwarehouseV1DateTimeArrayArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy