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

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

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


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

    public static final EmailCustomizationState Empty = new EmailCustomizationState();

    /**
     * The body of the customization
     * 
     */
    @Import(name="body")
    private @Nullable Output body;

    /**
     * @return The body of the customization
     * 
     */
    public Optional> body() {
        return Optional.ofNullable(this.body);
    }

    /**
     * Brand ID
     * 
     */
    @Import(name="brandId")
    private @Nullable Output brandId;

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

    /**
     * Force is_default on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
     * 
     * @deprecated
     * force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
     * 
     */
    @Deprecated /* force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template */
    @Import(name="forceIsDefault")
    private @Nullable Output forceIsDefault;

    /**
     * @return Force is_default on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
     * 
     * @deprecated
     * force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
     * 
     */
    @Deprecated /* force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template */
    public Optional> forceIsDefault() {
        return Optional.ofNullable(this.forceIsDefault);
    }

    /**
     * Whether the customization is the default
     * 
     */
    @Import(name="isDefault")
    private @Nullable Output isDefault;

    /**
     * @return Whether the customization is the default
     * 
     */
    public Optional> isDefault() {
        return Optional.ofNullable(this.isDefault);
    }

    /**
     * The language supported by the customization - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages)
     * 
     */
    @Import(name="language")
    private @Nullable Output language;

    /**
     * @return The language supported by the customization - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages)
     * 
     */
    public Optional> language() {
        return Optional.ofNullable(this.language);
    }

    /**
     * Link relations for this object - JSON HAL - Discoverable resources related to the email template
     * 
     */
    @Import(name="links")
    private @Nullable Output links;

    /**
     * @return Link relations for this object - JSON HAL - Discoverable resources related to the email template
     * 
     */
    public Optional> links() {
        return Optional.ofNullable(this.links);
    }

    /**
     * The subject of the customization
     * 
     */
    @Import(name="subject")
    private @Nullable Output subject;

    /**
     * @return The subject of the customization
     * 
     */
    public Optional> subject() {
        return Optional.ofNullable(this.subject);
    }

    /**
     * Template Name - Example values: `AccountLockout`,`ADForgotPassword`,`ADForgotPasswordDenied`,`ADSelfServiceUnlock`,`ADUserActivation`,`AuthenticatorEnrolled`,`AuthenticatorReset`,`ChangeEmailConfirmation`,`EmailChallenge`,`EmailChangeConfirmation`,`EmailFactorVerification`,`ForgotPassword`,`ForgotPasswordDenied`,`IGAReviewerEndNotification`,`IGAReviewerNotification`,`IGAReviewerPendingNotification`,`IGAReviewerReassigned`,`LDAPForgotPassword`,`LDAPForgotPasswordDenied`,`LDAPSelfServiceUnlock`,`LDAPUserActivation`,`MyAccountChangeConfirmation`,`NewSignOnNotification`,`OktaVerifyActivation`,`PasswordChanged`,`PasswordResetByAdmin`,`PendingEmailChange`,`RegistrationActivation`,`RegistrationEmailVerification`,`SelfServiceUnlock`,`SelfServiceUnlockOnUnlockedAccount`,`UserActivation`
     * 
     */
    @Import(name="templateName")
    private @Nullable Output templateName;

    /**
     * @return Template Name - Example values: `AccountLockout`,`ADForgotPassword`,`ADForgotPasswordDenied`,`ADSelfServiceUnlock`,`ADUserActivation`,`AuthenticatorEnrolled`,`AuthenticatorReset`,`ChangeEmailConfirmation`,`EmailChallenge`,`EmailChangeConfirmation`,`EmailFactorVerification`,`ForgotPassword`,`ForgotPasswordDenied`,`IGAReviewerEndNotification`,`IGAReviewerNotification`,`IGAReviewerPendingNotification`,`IGAReviewerReassigned`,`LDAPForgotPassword`,`LDAPForgotPasswordDenied`,`LDAPSelfServiceUnlock`,`LDAPUserActivation`,`MyAccountChangeConfirmation`,`NewSignOnNotification`,`OktaVerifyActivation`,`PasswordChanged`,`PasswordResetByAdmin`,`PendingEmailChange`,`RegistrationActivation`,`RegistrationEmailVerification`,`SelfServiceUnlock`,`SelfServiceUnlockOnUnlockedAccount`,`UserActivation`
     * 
     */
    public Optional> templateName() {
        return Optional.ofNullable(this.templateName);
    }

    private EmailCustomizationState() {}

    private EmailCustomizationState(EmailCustomizationState $) {
        this.body = $.body;
        this.brandId = $.brandId;
        this.forceIsDefault = $.forceIsDefault;
        this.isDefault = $.isDefault;
        this.language = $.language;
        this.links = $.links;
        this.subject = $.subject;
        this.templateName = $.templateName;
    }

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

    public static final class Builder {
        private EmailCustomizationState $;

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

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

        /**
         * @param body The body of the customization
         * 
         * @return builder
         * 
         */
        public Builder body(@Nullable Output body) {
            $.body = body;
            return this;
        }

        /**
         * @param body The body of the customization
         * 
         * @return builder
         * 
         */
        public Builder body(String body) {
            return body(Output.of(body));
        }

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

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

        /**
         * @param forceIsDefault Force is_default on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
         * 
         * @return builder
         * 
         * @deprecated
         * force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
         * 
         */
        @Deprecated /* force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template */
        public Builder forceIsDefault(@Nullable Output forceIsDefault) {
            $.forceIsDefault = forceIsDefault;
            return this;
        }

        /**
         * @param forceIsDefault Force is_default on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
         * 
         * @return builder
         * 
         * @deprecated
         * force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
         * 
         */
        @Deprecated /* force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template */
        public Builder forceIsDefault(String forceIsDefault) {
            return forceIsDefault(Output.of(forceIsDefault));
        }

        /**
         * @param isDefault Whether the customization is the default
         * 
         * @return builder
         * 
         */
        public Builder isDefault(@Nullable Output isDefault) {
            $.isDefault = isDefault;
            return this;
        }

        /**
         * @param isDefault Whether the customization is the default
         * 
         * @return builder
         * 
         */
        public Builder isDefault(Boolean isDefault) {
            return isDefault(Output.of(isDefault));
        }

        /**
         * @param language The language supported by the customization - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages)
         * 
         * @return builder
         * 
         */
        public Builder language(@Nullable Output language) {
            $.language = language;
            return this;
        }

        /**
         * @param language The language supported by the customization - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages)
         * 
         * @return builder
         * 
         */
        public Builder language(String language) {
            return language(Output.of(language));
        }

        /**
         * @param links Link relations for this object - JSON HAL - Discoverable resources related to the email template
         * 
         * @return builder
         * 
         */
        public Builder links(@Nullable Output links) {
            $.links = links;
            return this;
        }

        /**
         * @param links Link relations for this object - JSON HAL - Discoverable resources related to the email template
         * 
         * @return builder
         * 
         */
        public Builder links(String links) {
            return links(Output.of(links));
        }

        /**
         * @param subject The subject of the customization
         * 
         * @return builder
         * 
         */
        public Builder subject(@Nullable Output subject) {
            $.subject = subject;
            return this;
        }

        /**
         * @param subject The subject of the customization
         * 
         * @return builder
         * 
         */
        public Builder subject(String subject) {
            return subject(Output.of(subject));
        }

        /**
         * @param templateName Template Name - Example values: `AccountLockout`,`ADForgotPassword`,`ADForgotPasswordDenied`,`ADSelfServiceUnlock`,`ADUserActivation`,`AuthenticatorEnrolled`,`AuthenticatorReset`,`ChangeEmailConfirmation`,`EmailChallenge`,`EmailChangeConfirmation`,`EmailFactorVerification`,`ForgotPassword`,`ForgotPasswordDenied`,`IGAReviewerEndNotification`,`IGAReviewerNotification`,`IGAReviewerPendingNotification`,`IGAReviewerReassigned`,`LDAPForgotPassword`,`LDAPForgotPasswordDenied`,`LDAPSelfServiceUnlock`,`LDAPUserActivation`,`MyAccountChangeConfirmation`,`NewSignOnNotification`,`OktaVerifyActivation`,`PasswordChanged`,`PasswordResetByAdmin`,`PendingEmailChange`,`RegistrationActivation`,`RegistrationEmailVerification`,`SelfServiceUnlock`,`SelfServiceUnlockOnUnlockedAccount`,`UserActivation`
         * 
         * @return builder
         * 
         */
        public Builder templateName(@Nullable Output templateName) {
            $.templateName = templateName;
            return this;
        }

        /**
         * @param templateName Template Name - Example values: `AccountLockout`,`ADForgotPassword`,`ADForgotPasswordDenied`,`ADSelfServiceUnlock`,`ADUserActivation`,`AuthenticatorEnrolled`,`AuthenticatorReset`,`ChangeEmailConfirmation`,`EmailChallenge`,`EmailChangeConfirmation`,`EmailFactorVerification`,`ForgotPassword`,`ForgotPasswordDenied`,`IGAReviewerEndNotification`,`IGAReviewerNotification`,`IGAReviewerPendingNotification`,`IGAReviewerReassigned`,`LDAPForgotPassword`,`LDAPForgotPasswordDenied`,`LDAPSelfServiceUnlock`,`LDAPUserActivation`,`MyAccountChangeConfirmation`,`NewSignOnNotification`,`OktaVerifyActivation`,`PasswordChanged`,`PasswordResetByAdmin`,`PendingEmailChange`,`RegistrationActivation`,`RegistrationEmailVerification`,`SelfServiceUnlock`,`SelfServiceUnlockOnUnlockedAccount`,`UserActivation`
         * 
         * @return builder
         * 
         */
        public Builder templateName(String templateName) {
            return templateName(Output.of(templateName));
        }

        public EmailCustomizationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy