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