com.pulumi.azurenative.monitor.outputs.ResourceMapResponse 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.monitor.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ResourceMapResponse {
/**
* @return Resource Map Key.
*
*/
private String from;
/**
* @return Resource Map Value.
*
*/
private String to;
private ResourceMapResponse() {}
/**
* @return Resource Map Key.
*
*/
public String from() {
return this.from;
}
/**
* @return Resource Map Value.
*
*/
public String to() {
return this.to;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceMapResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String from;
private String to;
public Builder() {}
public Builder(ResourceMapResponse defaults) {
Objects.requireNonNull(defaults);
this.from = defaults.from;
this.to = defaults.to;
}
@CustomType.Setter
public Builder from(String from) {
if (from == null) {
throw new MissingRequiredPropertyException("ResourceMapResponse", "from");
}
this.from = from;
return this;
}
@CustomType.Setter
public Builder to(String to) {
if (to == null) {
throw new MissingRequiredPropertyException("ResourceMapResponse", "to");
}
this.to = to;
return this;
}
public ResourceMapResponse build() {
final var _resultValue = new ResourceMapResponse();
_resultValue.from = from;
_resultValue.to = to;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy