
com.pulumi.azurenative.impact.outputs.ImpactDetailsResponse 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.impact.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ImpactDetailsResponse {
/**
* @return Time at which impact was ended according to reported impact.
*
*/
private @Nullable String endTime;
/**
* @return Azure Id of the impact.
*
*/
private String impactId;
/**
* @return List of impacted Azure resources.
*
*/
private String impactedResourceId;
/**
* @return Time at which impact was started according to reported impact.
*
*/
private String startTime;
private ImpactDetailsResponse() {}
/**
* @return Time at which impact was ended according to reported impact.
*
*/
public Optional endTime() {
return Optional.ofNullable(this.endTime);
}
/**
* @return Azure Id of the impact.
*
*/
public String impactId() {
return this.impactId;
}
/**
* @return List of impacted Azure resources.
*
*/
public String impactedResourceId() {
return this.impactedResourceId;
}
/**
* @return Time at which impact was started according to reported impact.
*
*/
public String startTime() {
return this.startTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ImpactDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String endTime;
private String impactId;
private String impactedResourceId;
private String startTime;
public Builder() {}
public Builder(ImpactDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.endTime = defaults.endTime;
this.impactId = defaults.impactId;
this.impactedResourceId = defaults.impactedResourceId;
this.startTime = defaults.startTime;
}
@CustomType.Setter
public Builder endTime(@Nullable String endTime) {
this.endTime = endTime;
return this;
}
@CustomType.Setter
public Builder impactId(String impactId) {
if (impactId == null) {
throw new MissingRequiredPropertyException("ImpactDetailsResponse", "impactId");
}
this.impactId = impactId;
return this;
}
@CustomType.Setter
public Builder impactedResourceId(String impactedResourceId) {
if (impactedResourceId == null) {
throw new MissingRequiredPropertyException("ImpactDetailsResponse", "impactedResourceId");
}
this.impactedResourceId = impactedResourceId;
return this;
}
@CustomType.Setter
public Builder startTime(String startTime) {
if (startTime == null) {
throw new MissingRequiredPropertyException("ImpactDetailsResponse", "startTime");
}
this.startTime = startTime;
return this;
}
public ImpactDetailsResponse build() {
final var _resultValue = new ImpactDetailsResponse();
_resultValue.endTime = endTime;
_resultValue.impactId = impactId;
_resultValue.impactedResourceId = impactedResourceId;
_resultValue.startTime = startTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy