com.pulumi.azurenative.securityinsights.outputs.IncidentInfoResponse 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class IncidentInfoResponse {
/**
* @return Incident Id
*
*/
private @Nullable String incidentId;
/**
* @return Relation Name
*
*/
private @Nullable String relationName;
/**
* @return The severity of the incident
*
*/
private @Nullable String severity;
/**
* @return The title of the incident
*
*/
private @Nullable String title;
private IncidentInfoResponse() {}
/**
* @return Incident Id
*
*/
public Optional incidentId() {
return Optional.ofNullable(this.incidentId);
}
/**
* @return Relation Name
*
*/
public Optional relationName() {
return Optional.ofNullable(this.relationName);
}
/**
* @return The severity of the incident
*
*/
public Optional severity() {
return Optional.ofNullable(this.severity);
}
/**
* @return The title of the incident
*
*/
public Optional title() {
return Optional.ofNullable(this.title);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IncidentInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String incidentId;
private @Nullable String relationName;
private @Nullable String severity;
private @Nullable String title;
public Builder() {}
public Builder(IncidentInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.incidentId = defaults.incidentId;
this.relationName = defaults.relationName;
this.severity = defaults.severity;
this.title = defaults.title;
}
@CustomType.Setter
public Builder incidentId(@Nullable String incidentId) {
this.incidentId = incidentId;
return this;
}
@CustomType.Setter
public Builder relationName(@Nullable String relationName) {
this.relationName = relationName;
return this;
}
@CustomType.Setter
public Builder severity(@Nullable String severity) {
this.severity = severity;
return this;
}
@CustomType.Setter
public Builder title(@Nullable String title) {
this.title = title;
return this;
}
public IncidentInfoResponse build() {
final var _resultValue = new IncidentInfoResponse();
_resultValue.incidentId = incidentId;
_resultValue.relationName = relationName;
_resultValue.severity = severity;
_resultValue.title = title;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy