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

com.pulumi.okta.idp.inputs.SamlKeyState 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.okta.idp.inputs;

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


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

    public static final SamlKeyState Empty = new SamlKeyState();

    /**
     * Date created.
     * 
     */
    @Import(name="created")
    private @Nullable Output created;

    /**
     * @return Date created.
     * 
     */
    public Optional> created() {
        return Optional.ofNullable(this.created);
    }

    /**
     * Date the cert expires.
     * 
     */
    @Import(name="expiresAt")
    private @Nullable Output expiresAt;

    /**
     * @return Date the cert expires.
     * 
     */
    public Optional> expiresAt() {
        return Optional.ofNullable(this.expiresAt);
    }

    /**
     * Key ID.
     * 
     */
    @Import(name="kid")
    private @Nullable Output kid;

    /**
     * @return Key ID.
     * 
     */
    public Optional> kid() {
        return Optional.ofNullable(this.kid);
    }

    /**
     * Identifies the cryptographic algorithm family used with the key.
     * 
     */
    @Import(name="kty")
    private @Nullable Output kty;

    /**
     * @return Identifies the cryptographic algorithm family used with the key.
     * 
     */
    public Optional> kty() {
        return Optional.ofNullable(this.kty);
    }

    /**
     * Intended use of the public key.
     * 
     */
    @Import(name="use")
    private @Nullable Output use;

    /**
     * @return Intended use of the public key.
     * 
     */
    public Optional> use() {
        return Optional.ofNullable(this.use);
    }

    /**
     * base64-encoded X.509 certificate chain with DER encoding
     * 
     */
    @Import(name="x5cs")
    private @Nullable Output> x5cs;

    /**
     * @return base64-encoded X.509 certificate chain with DER encoding
     * 
     */
    public Optional>> x5cs() {
        return Optional.ofNullable(this.x5cs);
    }

    /**
     * base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
     * 
     */
    @Import(name="x5tS256")
    private @Nullable Output x5tS256;

    /**
     * @return base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
     * 
     */
    public Optional> x5tS256() {
        return Optional.ofNullable(this.x5tS256);
    }

    private SamlKeyState() {}

    private SamlKeyState(SamlKeyState $) {
        this.created = $.created;
        this.expiresAt = $.expiresAt;
        this.kid = $.kid;
        this.kty = $.kty;
        this.use = $.use;
        this.x5cs = $.x5cs;
        this.x5tS256 = $.x5tS256;
    }

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

    public static final class Builder {
        private SamlKeyState $;

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

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

        /**
         * @param created Date created.
         * 
         * @return builder
         * 
         */
        public Builder created(@Nullable Output created) {
            $.created = created;
            return this;
        }

        /**
         * @param created Date created.
         * 
         * @return builder
         * 
         */
        public Builder created(String created) {
            return created(Output.of(created));
        }

        /**
         * @param expiresAt Date the cert expires.
         * 
         * @return builder
         * 
         */
        public Builder expiresAt(@Nullable Output expiresAt) {
            $.expiresAt = expiresAt;
            return this;
        }

        /**
         * @param expiresAt Date the cert expires.
         * 
         * @return builder
         * 
         */
        public Builder expiresAt(String expiresAt) {
            return expiresAt(Output.of(expiresAt));
        }

        /**
         * @param kid Key ID.
         * 
         * @return builder
         * 
         */
        public Builder kid(@Nullable Output kid) {
            $.kid = kid;
            return this;
        }

        /**
         * @param kid Key ID.
         * 
         * @return builder
         * 
         */
        public Builder kid(String kid) {
            return kid(Output.of(kid));
        }

        /**
         * @param kty Identifies the cryptographic algorithm family used with the key.
         * 
         * @return builder
         * 
         */
        public Builder kty(@Nullable Output kty) {
            $.kty = kty;
            return this;
        }

        /**
         * @param kty Identifies the cryptographic algorithm family used with the key.
         * 
         * @return builder
         * 
         */
        public Builder kty(String kty) {
            return kty(Output.of(kty));
        }

        /**
         * @param use Intended use of the public key.
         * 
         * @return builder
         * 
         */
        public Builder use(@Nullable Output use) {
            $.use = use;
            return this;
        }

        /**
         * @param use Intended use of the public key.
         * 
         * @return builder
         * 
         */
        public Builder use(String use) {
            return use(Output.of(use));
        }

        /**
         * @param x5cs base64-encoded X.509 certificate chain with DER encoding
         * 
         * @return builder
         * 
         */
        public Builder x5cs(@Nullable Output> x5cs) {
            $.x5cs = x5cs;
            return this;
        }

        /**
         * @param x5cs base64-encoded X.509 certificate chain with DER encoding
         * 
         * @return builder
         * 
         */
        public Builder x5cs(List x5cs) {
            return x5cs(Output.of(x5cs));
        }

        /**
         * @param x5cs base64-encoded X.509 certificate chain with DER encoding
         * 
         * @return builder
         * 
         */
        public Builder x5cs(String... x5cs) {
            return x5cs(List.of(x5cs));
        }

        /**
         * @param x5tS256 base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
         * 
         * @return builder
         * 
         */
        public Builder x5tS256(@Nullable Output x5tS256) {
            $.x5tS256 = x5tS256;
            return this;
        }

        /**
         * @param x5tS256 base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
         * 
         * @return builder
         * 
         */
        public Builder x5tS256(String x5tS256) {
            return x5tS256(Output.of(x5tS256));
        }

        public SamlKeyState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy