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

com.pulumi.aws.pinpoint.inputs.EmailTemplateEmailTemplateHeaderArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.pinpoint.inputs;

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


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

    public static final EmailTemplateEmailTemplateHeaderArgs Empty = new EmailTemplateEmailTemplateHeaderArgs();

    /**
     * Name of the message header. The header name can contain up to 126 characters.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the message header. The header name can contain up to 126 characters.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private EmailTemplateEmailTemplateHeaderArgs() {}

    private EmailTemplateEmailTemplateHeaderArgs(EmailTemplateEmailTemplateHeaderArgs $) {
        this.name = $.name;
        this.value = $.value;
    }

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

    public static final class Builder {
        private EmailTemplateEmailTemplateHeaderArgs $;

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

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

        /**
         * @param name Name of the message header. The header name can contain up to 126 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the message header. The header name can contain up to 126 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param value Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public EmailTemplateEmailTemplateHeaderArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy