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

com.pulumi.snowflake.outputs.GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity Maven / Gradle / Ivy

The 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.snowflake.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity {
    private String default_;
    private String name;
    private String type;
    private String value;

    private GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity() {}
    public String default_() {
        return this.default_;
    }
    public String name() {
        return this.name;
    }
    public String type() {
        return this.type;
    }
    public String value() {
        return this.value;
    }

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

    public static Builder builder(GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String default_;
        private String name;
        private String type;
        private String value;
        public Builder() {}
        public Builder(GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.default_ = defaults.default_;
    	      this.name = defaults.name;
    	      this.type = defaults.type;
    	      this.value = defaults.value;
        }

        @CustomType.Setter("default")
        public Builder default_(String default_) {
            if (default_ == null) {
              throw new MissingRequiredPropertyException("GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity", "default_");
            }
            this.default_ = default_;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder value(String value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity", "value");
            }
            this.value = value;
            return this;
        }
        public GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity build() {
            final var _resultValue = new GetSecurityIntegrationsSecurityIntegrationDescribeOutputOauthAccessTokenValidity();
            _resultValue.default_ = default_;
            _resultValue.name = name;
            _resultValue.type = type;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy