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

com.pulumi.azurenative.timeseriesinsights.outputs.LocalTimestampResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.timeseriesinsights.outputs;

import com.pulumi.azurenative.timeseriesinsights.outputs.LocalTimestampResponseTimeZoneOffset;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LocalTimestampResponse {
    /**
     * @return An enum that represents the format of the local timestamp property that needs to be set.
     * 
     */
    private @Nullable String format;
    /**
     * @return An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
     * 
     */
    private @Nullable LocalTimestampResponseTimeZoneOffset timeZoneOffset;

    private LocalTimestampResponse() {}
    /**
     * @return An enum that represents the format of the local timestamp property that needs to be set.
     * 
     */
    public Optional format() {
        return Optional.ofNullable(this.format);
    }
    /**
     * @return An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
     * 
     */
    public Optional timeZoneOffset() {
        return Optional.ofNullable(this.timeZoneOffset);
    }

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

    public static Builder builder(LocalTimestampResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String format;
        private @Nullable LocalTimestampResponseTimeZoneOffset timeZoneOffset;
        public Builder() {}
        public Builder(LocalTimestampResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.format = defaults.format;
    	      this.timeZoneOffset = defaults.timeZoneOffset;
        }

        @CustomType.Setter
        public Builder format(@Nullable String format) {

            this.format = format;
            return this;
        }
        @CustomType.Setter
        public Builder timeZoneOffset(@Nullable LocalTimestampResponseTimeZoneOffset timeZoneOffset) {

            this.timeZoneOffset = timeZoneOffset;
            return this;
        }
        public LocalTimestampResponse build() {
            final var _resultValue = new LocalTimestampResponse();
            _resultValue.format = format;
            _resultValue.timeZoneOffset = timeZoneOffset;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy