com.pulumi.azurenative.impact.outputs.ClientIncidentDetailsResponse 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.impact.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 ClientIncidentDetailsResponse {
/**
* @return Client incident id. ex : id of the incident created to investigate and address the impact if any.
*
*/
private @Nullable String clientIncidentId;
/**
* @return Client incident source. ex : source system name where the incident is created
*
*/
private @Nullable String clientIncidentSource;
private ClientIncidentDetailsResponse() {}
/**
* @return Client incident id. ex : id of the incident created to investigate and address the impact if any.
*
*/
public Optional clientIncidentId() {
return Optional.ofNullable(this.clientIncidentId);
}
/**
* @return Client incident source. ex : source system name where the incident is created
*
*/
public Optional clientIncidentSource() {
return Optional.ofNullable(this.clientIncidentSource);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClientIncidentDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientIncidentId;
private @Nullable String clientIncidentSource;
public Builder() {}
public Builder(ClientIncidentDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.clientIncidentId = defaults.clientIncidentId;
this.clientIncidentSource = defaults.clientIncidentSource;
}
@CustomType.Setter
public Builder clientIncidentId(@Nullable String clientIncidentId) {
this.clientIncidentId = clientIncidentId;
return this;
}
@CustomType.Setter
public Builder clientIncidentSource(@Nullable String clientIncidentSource) {
this.clientIncidentSource = clientIncidentSource;
return this;
}
public ClientIncidentDetailsResponse build() {
final var _resultValue = new ClientIncidentDetailsResponse();
_resultValue.clientIncidentId = clientIncidentId;
_resultValue.clientIncidentSource = clientIncidentSource;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy