com.pulumi.meraki.organizations.outputs.GetInsightMonitoredMediaServersItem 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetInsightMonitoredMediaServersItem {
/**
* @return The IP address (IPv4 only) or hostname of the media server to monitor
*
*/
private String address;
/**
* @return Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
*
*/
private Boolean bestEffortMonitoringEnabled;
/**
* @return Monitored media server id
*
*/
private String id;
/**
* @return The name of the VoIP provider
*
*/
private String name;
private GetInsightMonitoredMediaServersItem() {}
/**
* @return The IP address (IPv4 only) or hostname of the media server to monitor
*
*/
public String address() {
return this.address;
}
/**
* @return Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
*
*/
public Boolean bestEffortMonitoringEnabled() {
return this.bestEffortMonitoringEnabled;
}
/**
* @return Monitored media server id
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the VoIP provider
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInsightMonitoredMediaServersItem defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String address;
private Boolean bestEffortMonitoringEnabled;
private String id;
private String name;
public Builder() {}
public Builder(GetInsightMonitoredMediaServersItem defaults) {
Objects.requireNonNull(defaults);
this.address = defaults.address;
this.bestEffortMonitoringEnabled = defaults.bestEffortMonitoringEnabled;
this.id = defaults.id;
this.name = defaults.name;
}
@CustomType.Setter
public Builder address(String address) {
if (address == null) {
throw new MissingRequiredPropertyException("GetInsightMonitoredMediaServersItem", "address");
}
this.address = address;
return this;
}
@CustomType.Setter
public Builder bestEffortMonitoringEnabled(Boolean bestEffortMonitoringEnabled) {
if (bestEffortMonitoringEnabled == null) {
throw new MissingRequiredPropertyException("GetInsightMonitoredMediaServersItem", "bestEffortMonitoringEnabled");
}
this.bestEffortMonitoringEnabled = bestEffortMonitoringEnabled;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetInsightMonitoredMediaServersItem", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetInsightMonitoredMediaServersItem", "name");
}
this.name = name;
return this;
}
public GetInsightMonitoredMediaServersItem build() {
final var _resultValue = new GetInsightMonitoredMediaServersItem();
_resultValue.address = address;
_resultValue.bestEffortMonitoringEnabled = bestEffortMonitoringEnabled;
_resultValue.id = id;
_resultValue.name = name;
return _resultValue;
}
}
}