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