com.pulumi.azurenative.virtualmachineimages.outputs.ImageTemplateLastRunStatusResponse 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.virtualmachineimages.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 ImageTemplateLastRunStatusResponse {
/**
* @return End time of the last run (UTC)
*
*/
private @Nullable String endTime;
/**
* @return Verbose information about the last run state
*
*/
private @Nullable String message;
/**
* @return State of the last run
*
*/
private @Nullable String runState;
/**
* @return Sub-state of the last run
*
*/
private @Nullable String runSubState;
/**
* @return Start time of the last run (UTC)
*
*/
private @Nullable String startTime;
private ImageTemplateLastRunStatusResponse() {}
/**
* @return End time of the last run (UTC)
*
*/
public Optional endTime() {
return Optional.ofNullable(this.endTime);
}
/**
* @return Verbose information about the last run state
*
*/
public Optional message() {
return Optional.ofNullable(this.message);
}
/**
* @return State of the last run
*
*/
public Optional runState() {
return Optional.ofNullable(this.runState);
}
/**
* @return Sub-state of the last run
*
*/
public Optional runSubState() {
return Optional.ofNullable(this.runSubState);
}
/**
* @return Start time of the last run (UTC)
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ImageTemplateLastRunStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String endTime;
private @Nullable String message;
private @Nullable String runState;
private @Nullable String runSubState;
private @Nullable String startTime;
public Builder() {}
public Builder(ImageTemplateLastRunStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.endTime = defaults.endTime;
this.message = defaults.message;
this.runState = defaults.runState;
this.runSubState = defaults.runSubState;
this.startTime = defaults.startTime;
}
@CustomType.Setter
public Builder endTime(@Nullable String endTime) {
this.endTime = endTime;
return this;
}
@CustomType.Setter
public Builder message(@Nullable String message) {
this.message = message;
return this;
}
@CustomType.Setter
public Builder runState(@Nullable String runState) {
this.runState = runState;
return this;
}
@CustomType.Setter
public Builder runSubState(@Nullable String runSubState) {
this.runSubState = runSubState;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
public ImageTemplateLastRunStatusResponse build() {
final var _resultValue = new ImageTemplateLastRunStatusResponse();
_resultValue.endTime = endTime;
_resultValue.message = message;
_resultValue.runState = runState;
_resultValue.runSubState = runSubState;
_resultValue.startTime = startTime;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy