com.pulumi.meraki.networks.outputs.GetCameraQualityRetentionProfilesItem 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.GetCameraQualityRetentionProfilesItemVideoSettings;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCameraQualityRetentionProfilesItem {
private Boolean audioRecordingEnabled;
private Boolean cloudArchiveEnabled;
private String id;
private Integer maxRetentionDays;
private Boolean motionBasedRetentionEnabled;
private Integer motionDetectorVersion;
private String name;
private String networkId;
private Boolean restrictedBandwidthModeEnabled;
private String scheduleId;
private GetCameraQualityRetentionProfilesItemVideoSettings videoSettings;
private GetCameraQualityRetentionProfilesItem() {}
public Boolean audioRecordingEnabled() {
return this.audioRecordingEnabled;
}
public Boolean cloudArchiveEnabled() {
return this.cloudArchiveEnabled;
}
public String id() {
return this.id;
}
public Integer maxRetentionDays() {
return this.maxRetentionDays;
}
public Boolean motionBasedRetentionEnabled() {
return this.motionBasedRetentionEnabled;
}
public Integer motionDetectorVersion() {
return this.motionDetectorVersion;
}
public String name() {
return this.name;
}
public String networkId() {
return this.networkId;
}
public Boolean restrictedBandwidthModeEnabled() {
return this.restrictedBandwidthModeEnabled;
}
public String scheduleId() {
return this.scheduleId;
}
public GetCameraQualityRetentionProfilesItemVideoSettings videoSettings() {
return this.videoSettings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCameraQualityRetentionProfilesItem defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean audioRecordingEnabled;
private Boolean cloudArchiveEnabled;
private String id;
private Integer maxRetentionDays;
private Boolean motionBasedRetentionEnabled;
private Integer motionDetectorVersion;
private String name;
private String networkId;
private Boolean restrictedBandwidthModeEnabled;
private String scheduleId;
private GetCameraQualityRetentionProfilesItemVideoSettings videoSettings;
public Builder() {}
public Builder(GetCameraQualityRetentionProfilesItem defaults) {
Objects.requireNonNull(defaults);
this.audioRecordingEnabled = defaults.audioRecordingEnabled;
this.cloudArchiveEnabled = defaults.cloudArchiveEnabled;
this.id = defaults.id;
this.maxRetentionDays = defaults.maxRetentionDays;
this.motionBasedRetentionEnabled = defaults.motionBasedRetentionEnabled;
this.motionDetectorVersion = defaults.motionDetectorVersion;
this.name = defaults.name;
this.networkId = defaults.networkId;
this.restrictedBandwidthModeEnabled = defaults.restrictedBandwidthModeEnabled;
this.scheduleId = defaults.scheduleId;
this.videoSettings = defaults.videoSettings;
}
@CustomType.Setter
public Builder audioRecordingEnabled(Boolean audioRecordingEnabled) {
if (audioRecordingEnabled == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "audioRecordingEnabled");
}
this.audioRecordingEnabled = audioRecordingEnabled;
return this;
}
@CustomType.Setter
public Builder cloudArchiveEnabled(Boolean cloudArchiveEnabled) {
if (cloudArchiveEnabled == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "cloudArchiveEnabled");
}
this.cloudArchiveEnabled = cloudArchiveEnabled;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder maxRetentionDays(Integer maxRetentionDays) {
if (maxRetentionDays == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "maxRetentionDays");
}
this.maxRetentionDays = maxRetentionDays;
return this;
}
@CustomType.Setter
public Builder motionBasedRetentionEnabled(Boolean motionBasedRetentionEnabled) {
if (motionBasedRetentionEnabled == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "motionBasedRetentionEnabled");
}
this.motionBasedRetentionEnabled = motionBasedRetentionEnabled;
return this;
}
@CustomType.Setter
public Builder motionDetectorVersion(Integer motionDetectorVersion) {
if (motionDetectorVersion == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "motionDetectorVersion");
}
this.motionDetectorVersion = motionDetectorVersion;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder networkId(String networkId) {
if (networkId == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "networkId");
}
this.networkId = networkId;
return this;
}
@CustomType.Setter
public Builder restrictedBandwidthModeEnabled(Boolean restrictedBandwidthModeEnabled) {
if (restrictedBandwidthModeEnabled == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "restrictedBandwidthModeEnabled");
}
this.restrictedBandwidthModeEnabled = restrictedBandwidthModeEnabled;
return this;
}
@CustomType.Setter
public Builder scheduleId(String scheduleId) {
if (scheduleId == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "scheduleId");
}
this.scheduleId = scheduleId;
return this;
}
@CustomType.Setter
public Builder videoSettings(GetCameraQualityRetentionProfilesItemVideoSettings videoSettings) {
if (videoSettings == null) {
throw new MissingRequiredPropertyException("GetCameraQualityRetentionProfilesItem", "videoSettings");
}
this.videoSettings = videoSettings;
return this;
}
public GetCameraQualityRetentionProfilesItem build() {
final var _resultValue = new GetCameraQualityRetentionProfilesItem();
_resultValue.audioRecordingEnabled = audioRecordingEnabled;
_resultValue.cloudArchiveEnabled = cloudArchiveEnabled;
_resultValue.id = id;
_resultValue.maxRetentionDays = maxRetentionDays;
_resultValue.motionBasedRetentionEnabled = motionBasedRetentionEnabled;
_resultValue.motionDetectorVersion = motionDetectorVersion;
_resultValue.name = name;
_resultValue.networkId = networkId;
_resultValue.restrictedBandwidthModeEnabled = restrictedBandwidthModeEnabled;
_resultValue.scheduleId = scheduleId;
_resultValue.videoSettings = videoSettings;
return _resultValue;
}
}
}