com.pulumi.azurenative.appplatform.outputs.ApmPropertiesResponse 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.
The newest version!
// *** 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.appplatform.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class ApmPropertiesResponse {
/**
* @return Non-sensitive properties for the APM
*
*/
private @Nullable Map properties;
/**
* @return State of the APM.
*
*/
private String provisioningState;
/**
* @return APM Type
*
*/
private String type;
private ApmPropertiesResponse() {}
/**
* @return Non-sensitive properties for the APM
*
*/
public Map properties() {
return this.properties == null ? Map.of() : this.properties;
}
/**
* @return State of the APM.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return APM Type
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApmPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map properties;
private String provisioningState;
private String type;
public Builder() {}
public Builder(ApmPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.properties = defaults.properties;
this.provisioningState = defaults.provisioningState;
this.type = defaults.type;
}
@CustomType.Setter
public Builder properties(@Nullable Map properties) {
this.properties = properties;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ApmPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ApmPropertiesResponse", "type");
}
this.type = type;
return this;
}
public ApmPropertiesResponse build() {
final var _resultValue = new ApmPropertiesResponse();
_resultValue.properties = properties;
_resultValue.provisioningState = provisioningState;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy