com.pulumi.azurenative.securityinsights.outputs.IncidentLabelResponse 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.securityinsights.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class IncidentLabelResponse {
/**
* @return The name of the label
*
*/
private String labelName;
/**
* @return The type of the label
*
*/
private String labelType;
private IncidentLabelResponse() {}
/**
* @return The name of the label
*
*/
public String labelName() {
return this.labelName;
}
/**
* @return The type of the label
*
*/
public String labelType() {
return this.labelType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IncidentLabelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String labelName;
private String labelType;
public Builder() {}
public Builder(IncidentLabelResponse defaults) {
Objects.requireNonNull(defaults);
this.labelName = defaults.labelName;
this.labelType = defaults.labelType;
}
@CustomType.Setter
public Builder labelName(String labelName) {
if (labelName == null) {
throw new MissingRequiredPropertyException("IncidentLabelResponse", "labelName");
}
this.labelName = labelName;
return this;
}
@CustomType.Setter
public Builder labelType(String labelType) {
if (labelType == null) {
throw new MissingRequiredPropertyException("IncidentLabelResponse", "labelType");
}
this.labelType = labelType;
return this;
}
public IncidentLabelResponse build() {
final var _resultValue = new IncidentLabelResponse();
_resultValue.labelName = labelName;
_resultValue.labelType = labelType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy