com.pulumi.azurenative.databoxedge.MonitoringConfigArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.databoxedge;
import com.pulumi.azurenative.databoxedge.inputs.MetricConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class MonitoringConfigArgs extends com.pulumi.resources.ResourceArgs {
public static final MonitoringConfigArgs Empty = new MonitoringConfigArgs();
/**
* The device name.
*
*/
@Import(name="deviceName", required=true)
private Output deviceName;
/**
* @return The device name.
*
*/
public Output deviceName() {
return this.deviceName;
}
/**
* The metrics configuration details
*
*/
@Import(name="metricConfigurations", required=true)
private Output> metricConfigurations;
/**
* @return The metrics configuration details
*
*/
public Output> metricConfigurations() {
return this.metricConfigurations;
}
/**
* The resource group name.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The resource group name.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The role name.
*
*/
@Import(name="roleName", required=true)
private Output roleName;
/**
* @return The role name.
*
*/
public Output roleName() {
return this.roleName;
}
private MonitoringConfigArgs() {}
private MonitoringConfigArgs(MonitoringConfigArgs $) {
this.deviceName = $.deviceName;
this.metricConfigurations = $.metricConfigurations;
this.resourceGroupName = $.resourceGroupName;
this.roleName = $.roleName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MonitoringConfigArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private MonitoringConfigArgs $;
public Builder() {
$ = new MonitoringConfigArgs();
}
public Builder(MonitoringConfigArgs defaults) {
$ = new MonitoringConfigArgs(Objects.requireNonNull(defaults));
}
/**
* @param deviceName The device name.
*
* @return builder
*
*/
public Builder deviceName(Output deviceName) {
$.deviceName = deviceName;
return this;
}
/**
* @param deviceName The device name.
*
* @return builder
*
*/
public Builder deviceName(String deviceName) {
return deviceName(Output.of(deviceName));
}
/**
* @param metricConfigurations The metrics configuration details
*
* @return builder
*
*/
public Builder metricConfigurations(Output> metricConfigurations) {
$.metricConfigurations = metricConfigurations;
return this;
}
/**
* @param metricConfigurations The metrics configuration details
*
* @return builder
*
*/
public Builder metricConfigurations(List metricConfigurations) {
return metricConfigurations(Output.of(metricConfigurations));
}
/**
* @param metricConfigurations The metrics configuration details
*
* @return builder
*
*/
public Builder metricConfigurations(MetricConfigurationArgs... metricConfigurations) {
return metricConfigurations(List.of(metricConfigurations));
}
/**
* @param resourceGroupName The resource group name.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The resource group name.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param roleName The role name.
*
* @return builder
*
*/
public Builder roleName(Output roleName) {
$.roleName = roleName;
return this;
}
/**
* @param roleName The role name.
*
* @return builder
*
*/
public Builder roleName(String roleName) {
return roleName(Output.of(roleName));
}
public MonitoringConfigArgs build() {
if ($.deviceName == null) {
throw new MissingRequiredPropertyException("MonitoringConfigArgs", "deviceName");
}
if ($.metricConfigurations == null) {
throw new MissingRequiredPropertyException("MonitoringConfigArgs", "metricConfigurations");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("MonitoringConfigArgs", "resourceGroupName");
}
if ($.roleName == null) {
throw new MissingRequiredPropertyException("MonitoringConfigArgs", "roleName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy