com.pulumi.azurenative.recoveryservices.outputs.CriticalJobHistoryDetailsResponse 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.recoveryservices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CriticalJobHistoryDetailsResponse {
/**
* @return The ARM Id of the job being executed.
*
*/
private String jobId;
/**
* @return The job name.
*
*/
private String jobName;
/**
* @return The job state.
*
*/
private String jobStatus;
/**
* @return The start time of the job.
*
*/
private String startTime;
private CriticalJobHistoryDetailsResponse() {}
/**
* @return The ARM Id of the job being executed.
*
*/
public String jobId() {
return this.jobId;
}
/**
* @return The job name.
*
*/
public String jobName() {
return this.jobName;
}
/**
* @return The job state.
*
*/
public String jobStatus() {
return this.jobStatus;
}
/**
* @return The start time of the job.
*
*/
public String startTime() {
return this.startTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CriticalJobHistoryDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String jobId;
private String jobName;
private String jobStatus;
private String startTime;
public Builder() {}
public Builder(CriticalJobHistoryDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.jobId = defaults.jobId;
this.jobName = defaults.jobName;
this.jobStatus = defaults.jobStatus;
this.startTime = defaults.startTime;
}
@CustomType.Setter
public Builder jobId(String jobId) {
if (jobId == null) {
throw new MissingRequiredPropertyException("CriticalJobHistoryDetailsResponse", "jobId");
}
this.jobId = jobId;
return this;
}
@CustomType.Setter
public Builder jobName(String jobName) {
if (jobName == null) {
throw new MissingRequiredPropertyException("CriticalJobHistoryDetailsResponse", "jobName");
}
this.jobName = jobName;
return this;
}
@CustomType.Setter
public Builder jobStatus(String jobStatus) {
if (jobStatus == null) {
throw new MissingRequiredPropertyException("CriticalJobHistoryDetailsResponse", "jobStatus");
}
this.jobStatus = jobStatus;
return this;
}
@CustomType.Setter
public Builder startTime(String startTime) {
if (startTime == null) {
throw new MissingRequiredPropertyException("CriticalJobHistoryDetailsResponse", "startTime");
}
this.startTime = startTime;
return this;
}
public CriticalJobHistoryDetailsResponse build() {
final var _resultValue = new CriticalJobHistoryDetailsResponse();
_resultValue.jobId = jobId;
_resultValue.jobName = jobName;
_resultValue.jobStatus = jobStatus;
_resultValue.startTime = startTime;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy