com.pulumi.meraki.networks.outputs.GetWebhooksHttpServersItemPayloadTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.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;
}
}
}