com.pulumi.meraki.networks.inputs.GetWebhooksWebhookTestsPlainArgs 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.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetWebhooksWebhookTestsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetWebhooksWebhookTestsPlainArgs Empty = new GetWebhooksWebhookTestsPlainArgs();
/**
* networkId path parameter. Network ID
*
*/
@Import(name="networkId", required=true)
private String networkId;
/**
* @return networkId path parameter. Network ID
*
*/
public String networkId() {
return this.networkId;
}
/**
* webhookTestId path parameter. Webhook test ID
*
*/
@Import(name="webhookTestId", required=true)
private String webhookTestId;
/**
* @return webhookTestId path parameter. Webhook test ID
*
*/
public String webhookTestId() {
return this.webhookTestId;
}
private GetWebhooksWebhookTestsPlainArgs() {}
private GetWebhooksWebhookTestsPlainArgs(GetWebhooksWebhookTestsPlainArgs $) {
this.networkId = $.networkId;
this.webhookTestId = $.webhookTestId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWebhooksWebhookTestsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetWebhooksWebhookTestsPlainArgs $;
public Builder() {
$ = new GetWebhooksWebhookTestsPlainArgs();
}
public Builder(GetWebhooksWebhookTestsPlainArgs defaults) {
$ = new GetWebhooksWebhookTestsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param networkId networkId path parameter. Network ID
*
* @return builder
*
*/
public Builder networkId(String networkId) {
$.networkId = networkId;
return this;
}
/**
* @param webhookTestId webhookTestId path parameter. Webhook test ID
*
* @return builder
*
*/
public Builder webhookTestId(String webhookTestId) {
$.webhookTestId = webhookTestId;
return this;
}
public GetWebhooksWebhookTestsPlainArgs build() {
if ($.networkId == null) {
throw new MissingRequiredPropertyException("GetWebhooksWebhookTestsPlainArgs", "networkId");
}
if ($.webhookTestId == null) {
throw new MissingRequiredPropertyException("GetWebhooksWebhookTestsPlainArgs", "webhookTestId");
}
return $;
}
}
}