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

com.pulumi.meraki.networks.outputs.GetWebhooksHttpServersItemPayloadTemplate Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
Show 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.meraki.networks.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetWebhooksHttpServersItemPayloadTemplate {
    /**
     * @return The name of the payload template.
     * 
     */
    private String name;
    /**
     * @return The ID of the payload template.
     * 
     */
    private String payloadTemplateId;

    private GetWebhooksHttpServersItemPayloadTemplate() {}
    /**
     * @return The name of the payload template.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The ID of the payload template.
     * 
     */
    public String payloadTemplateId() {
        return this.payloadTemplateId;
    }

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

    public static Builder builder(GetWebhooksHttpServersItemPayloadTemplate defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        private String payloadTemplateId;
        public Builder() {}
        public Builder(GetWebhooksHttpServersItemPayloadTemplate defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.payloadTemplateId = defaults.payloadTemplateId;
        }

        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetWebhooksHttpServersItemPayloadTemplate", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder payloadTemplateId(String payloadTemplateId) {
            if (payloadTemplateId == null) {
              throw new MissingRequiredPropertyException("GetWebhooksHttpServersItemPayloadTemplate", "payloadTemplateId");
            }
            this.payloadTemplateId = payloadTemplateId;
            return this;
        }
        public GetWebhooksHttpServersItemPayloadTemplate build() {
            final var _resultValue = new GetWebhooksHttpServersItemPayloadTemplate();
            _resultValue.name = name;
            _resultValue.payloadTemplateId = payloadTemplateId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy