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