com.pulumi.meraki.networks.outputs.GetSmDevicesCertsResult 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 com.pulumi.meraki.networks.outputs.GetSmDevicesCertsItem;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetSmDevicesCertsResult {
/**
* @return deviceId path parameter. Device ID
*
*/
private String deviceId;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Array of ResponseSmGetNetworkSmDeviceCerts
*
*/
private List items;
/**
* @return networkId path parameter. Network ID
*
*/
private String networkId;
private GetSmDevicesCertsResult() {}
/**
* @return deviceId path parameter. Device ID
*
*/
public String deviceId() {
return this.deviceId;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Array of ResponseSmGetNetworkSmDeviceCerts
*
*/
public List items() {
return this.items;
}
/**
* @return networkId path parameter. Network ID
*
*/
public String networkId() {
return this.networkId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSmDevicesCertsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String deviceId;
private String id;
private List items;
private String networkId;
public Builder() {}
public Builder(GetSmDevicesCertsResult defaults) {
Objects.requireNonNull(defaults);
this.deviceId = defaults.deviceId;
this.id = defaults.id;
this.items = defaults.items;
this.networkId = defaults.networkId;
}
@CustomType.Setter
public Builder deviceId(String deviceId) {
if (deviceId == null) {
throw new MissingRequiredPropertyException("GetSmDevicesCertsResult", "deviceId");
}
this.deviceId = deviceId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetSmDevicesCertsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder items(List items) {
if (items == null) {
throw new MissingRequiredPropertyException("GetSmDevicesCertsResult", "items");
}
this.items = items;
return this;
}
public Builder items(GetSmDevicesCertsItem... items) {
return items(List.of(items));
}
@CustomType.Setter
public Builder networkId(String networkId) {
if (networkId == null) {
throw new MissingRequiredPropertyException("GetSmDevicesCertsResult", "networkId");
}
this.networkId = networkId;
return this;
}
public GetSmDevicesCertsResult build() {
final var _resultValue = new GetSmDevicesCertsResult();
_resultValue.deviceId = deviceId;
_resultValue.id = id;
_resultValue.items = items;
_resultValue.networkId = networkId;
return _resultValue;
}
}
}