com.pulumi.meraki.organizations.outputs.GetCameraBoundariesLinesByDeviceResult 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.organizations.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.organizations.outputs.GetCameraBoundariesLinesByDeviceItem;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetCameraBoundariesLinesByDeviceResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Array of ResponseCameraGetOrganizationCameraBoundariesLinesByDevice
*
*/
private List items;
/**
* @return organizationId path parameter. Organization ID
*
*/
private String organizationId;
/**
* @return serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
*
*/
private @Nullable List serials;
private GetCameraBoundariesLinesByDeviceResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Array of ResponseCameraGetOrganizationCameraBoundariesLinesByDevice
*
*/
public List items() {
return this.items;
}
/**
* @return organizationId path parameter. Organization ID
*
*/
public String organizationId() {
return this.organizationId;
}
/**
* @return serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
*
*/
public List serials() {
return this.serials == null ? List.of() : this.serials;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCameraBoundariesLinesByDeviceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private List items;
private String organizationId;
private @Nullable List serials;
public Builder() {}
public Builder(GetCameraBoundariesLinesByDeviceResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.items = defaults.items;
this.organizationId = defaults.organizationId;
this.serials = defaults.serials;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetCameraBoundariesLinesByDeviceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder items(List items) {
if (items == null) {
throw new MissingRequiredPropertyException("GetCameraBoundariesLinesByDeviceResult", "items");
}
this.items = items;
return this;
}
public Builder items(GetCameraBoundariesLinesByDeviceItem... items) {
return items(List.of(items));
}
@CustomType.Setter
public Builder organizationId(String organizationId) {
if (organizationId == null) {
throw new MissingRequiredPropertyException("GetCameraBoundariesLinesByDeviceResult", "organizationId");
}
this.organizationId = organizationId;
return this;
}
@CustomType.Setter
public Builder serials(@Nullable List serials) {
this.serials = serials;
return this;
}
public Builder serials(String... serials) {
return serials(List.of(serials));
}
public GetCameraBoundariesLinesByDeviceResult build() {
final var _resultValue = new GetCameraBoundariesLinesByDeviceResult();
_resultValue.id = id;
_resultValue.items = items;
_resultValue.organizationId = organizationId;
_resultValue.serials = serials;
return _resultValue;
}
}
}