com.pulumi.okta.inputs.TemplateSmsTranslationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okta Show documentation
Show all versions of okta Show documentation
A Pulumi package for creating and managing okta resources.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class TemplateSmsTranslationArgs extends com.pulumi.resources.ResourceArgs {
public static final TemplateSmsTranslationArgs Empty = new TemplateSmsTranslationArgs();
/**
* The language to map the template to.
*
*/
@Import(name="language", required=true)
private Output language;
/**
* @return The language to map the template to.
*
*/
public Output language() {
return this.language;
}
/**
* The SMS message.
*
*/
@Import(name="template", required=true)
private Output template;
/**
* @return The SMS message.
*
*/
public Output template() {
return this.template;
}
private TemplateSmsTranslationArgs() {}
private TemplateSmsTranslationArgs(TemplateSmsTranslationArgs $) {
this.language = $.language;
this.template = $.template;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TemplateSmsTranslationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private TemplateSmsTranslationArgs $;
public Builder() {
$ = new TemplateSmsTranslationArgs();
}
public Builder(TemplateSmsTranslationArgs defaults) {
$ = new TemplateSmsTranslationArgs(Objects.requireNonNull(defaults));
}
/**
* @param language The language to map the template to.
*
* @return builder
*
*/
public Builder language(Output language) {
$.language = language;
return this;
}
/**
* @param language The language to map the template to.
*
* @return builder
*
*/
public Builder language(String language) {
return language(Output.of(language));
}
/**
* @param template The SMS message.
*
* @return builder
*
*/
public Builder template(Output template) {
$.template = template;
return this;
}
/**
* @param template The SMS message.
*
* @return builder
*
*/
public Builder template(String template) {
return template(Output.of(template));
}
public TemplateSmsTranslationArgs build() {
if ($.language == null) {
throw new MissingRequiredPropertyException("TemplateSmsTranslationArgs", "language");
}
if ($.template == null) {
throw new MissingRequiredPropertyException("TemplateSmsTranslationArgs", "template");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy