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

com.pulumi.okta.inputs.OrgSupportState Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1732774005
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.okta.inputs;

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


public final class OrgSupportState extends com.pulumi.resources.ResourceArgs {

    public static final OrgSupportState Empty = new OrgSupportState();

    /**
     * Expiration of Okta Support
     * 
     */
    @Import(name="expiration")
    private @Nullable Output expiration;

    /**
     * @return Expiration of Okta Support
     * 
     */
    public Optional> expiration() {
        return Optional.ofNullable(this.expiration);
    }

    /**
     * Number of days the support should be extended by
     * 
     */
    @Import(name="extendBy")
    private @Nullable Output extendBy;

    /**
     * @return Number of days the support should be extended by
     * 
     */
    public Optional> extendBy() {
        return Optional.ofNullable(this.extendBy);
    }

    /**
     * Status of Okta Support
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Status of Okta Support
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private OrgSupportState() {}

    private OrgSupportState(OrgSupportState $) {
        this.expiration = $.expiration;
        this.extendBy = $.extendBy;
        this.status = $.status;
    }

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

    public static final class Builder {
        private OrgSupportState $;

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

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

        /**
         * @param expiration Expiration of Okta Support
         * 
         * @return builder
         * 
         */
        public Builder expiration(@Nullable Output expiration) {
            $.expiration = expiration;
            return this;
        }

        /**
         * @param expiration Expiration of Okta Support
         * 
         * @return builder
         * 
         */
        public Builder expiration(String expiration) {
            return expiration(Output.of(expiration));
        }

        /**
         * @param extendBy Number of days the support should be extended by
         * 
         * @return builder
         * 
         */
        public Builder extendBy(@Nullable Output extendBy) {
            $.extendBy = extendBy;
            return this;
        }

        /**
         * @param extendBy Number of days the support should be extended by
         * 
         * @return builder
         * 
         */
        public Builder extendBy(Integer extendBy) {
            return extendBy(Output.of(extendBy));
        }

        /**
         * @param status Status of Okta Support
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of Okta Support
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public OrgSupportState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy