com.pulumi.okta.outputs.GetEmailCustomizationsResult 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.okta.outputs.GetEmailCustomizationsEmailCustomization;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetEmailCustomizationsResult {
/**
* @return Brand ID
*
*/
private String brandId;
/**
* @return List of `okta.EmailCustomization` belonging to the named email template of the brand in the organization
*
*/
private List emailCustomizations;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Template Name
*
*/
private String templateName;
private GetEmailCustomizationsResult() {}
/**
* @return Brand ID
*
*/
public String brandId() {
return this.brandId;
}
/**
* @return List of `okta.EmailCustomization` belonging to the named email template of the brand in the organization
*
*/
public List emailCustomizations() {
return this.emailCustomizations;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Template Name
*
*/
public String templateName() {
return this.templateName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEmailCustomizationsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String brandId;
private List emailCustomizations;
private String id;
private String templateName;
public Builder() {}
public Builder(GetEmailCustomizationsResult defaults) {
Objects.requireNonNull(defaults);
this.brandId = defaults.brandId;
this.emailCustomizations = defaults.emailCustomizations;
this.id = defaults.id;
this.templateName = defaults.templateName;
}
@CustomType.Setter
public Builder brandId(String brandId) {
if (brandId == null) {
throw new MissingRequiredPropertyException("GetEmailCustomizationsResult", "brandId");
}
this.brandId = brandId;
return this;
}
@CustomType.Setter
public Builder emailCustomizations(List emailCustomizations) {
if (emailCustomizations == null) {
throw new MissingRequiredPropertyException("GetEmailCustomizationsResult", "emailCustomizations");
}
this.emailCustomizations = emailCustomizations;
return this;
}
public Builder emailCustomizations(GetEmailCustomizationsEmailCustomization... emailCustomizations) {
return emailCustomizations(List.of(emailCustomizations));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetEmailCustomizationsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder templateName(String templateName) {
if (templateName == null) {
throw new MissingRequiredPropertyException("GetEmailCustomizationsResult", "templateName");
}
this.templateName = templateName;
return this;
}
public GetEmailCustomizationsResult build() {
final var _resultValue = new GetEmailCustomizationsResult();
_resultValue.brandId = brandId;
_resultValue.emailCustomizations = emailCustomizations;
_resultValue.id = id;
_resultValue.templateName = templateName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy