
com.pulumi.azurenative.devtestlab.outputs.ArtifactInstallPropertiesResponse Maven / Gradle / Ivy
// *** 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.devtestlab.outputs;
import com.pulumi.azurenative.devtestlab.outputs.ArtifactParameterPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ArtifactInstallPropertiesResponse {
/**
* @return The artifact's identifier.
*
*/
private @Nullable String artifactId;
/**
* @return The artifact's title.
*
*/
private @Nullable String artifactTitle;
/**
* @return The status message from the deployment.
*
*/
private @Nullable String deploymentStatusMessage;
/**
* @return The time that the artifact starts to install on the virtual machine.
*
*/
private @Nullable String installTime;
/**
* @return The parameters of the artifact.
*
*/
private @Nullable List parameters;
/**
* @return The status of the artifact.
*
*/
private @Nullable String status;
/**
* @return The status message from the virtual machine extension.
*
*/
private @Nullable String vmExtensionStatusMessage;
private ArtifactInstallPropertiesResponse() {}
/**
* @return The artifact's identifier.
*
*/
public Optional artifactId() {
return Optional.ofNullable(this.artifactId);
}
/**
* @return The artifact's title.
*
*/
public Optional artifactTitle() {
return Optional.ofNullable(this.artifactTitle);
}
/**
* @return The status message from the deployment.
*
*/
public Optional deploymentStatusMessage() {
return Optional.ofNullable(this.deploymentStatusMessage);
}
/**
* @return The time that the artifact starts to install on the virtual machine.
*
*/
public Optional installTime() {
return Optional.ofNullable(this.installTime);
}
/**
* @return The parameters of the artifact.
*
*/
public List parameters() {
return this.parameters == null ? List.of() : this.parameters;
}
/**
* @return The status of the artifact.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
/**
* @return The status message from the virtual machine extension.
*
*/
public Optional vmExtensionStatusMessage() {
return Optional.ofNullable(this.vmExtensionStatusMessage);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ArtifactInstallPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String artifactId;
private @Nullable String artifactTitle;
private @Nullable String deploymentStatusMessage;
private @Nullable String installTime;
private @Nullable List parameters;
private @Nullable String status;
private @Nullable String vmExtensionStatusMessage;
public Builder() {}
public Builder(ArtifactInstallPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.artifactId = defaults.artifactId;
this.artifactTitle = defaults.artifactTitle;
this.deploymentStatusMessage = defaults.deploymentStatusMessage;
this.installTime = defaults.installTime;
this.parameters = defaults.parameters;
this.status = defaults.status;
this.vmExtensionStatusMessage = defaults.vmExtensionStatusMessage;
}
@CustomType.Setter
public Builder artifactId(@Nullable String artifactId) {
this.artifactId = artifactId;
return this;
}
@CustomType.Setter
public Builder artifactTitle(@Nullable String artifactTitle) {
this.artifactTitle = artifactTitle;
return this;
}
@CustomType.Setter
public Builder deploymentStatusMessage(@Nullable String deploymentStatusMessage) {
this.deploymentStatusMessage = deploymentStatusMessage;
return this;
}
@CustomType.Setter
public Builder installTime(@Nullable String installTime) {
this.installTime = installTime;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable List parameters) {
this.parameters = parameters;
return this;
}
public Builder parameters(ArtifactParameterPropertiesResponse... parameters) {
return parameters(List.of(parameters));
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
@CustomType.Setter
public Builder vmExtensionStatusMessage(@Nullable String vmExtensionStatusMessage) {
this.vmExtensionStatusMessage = vmExtensionStatusMessage;
return this;
}
public ArtifactInstallPropertiesResponse build() {
final var _resultValue = new ArtifactInstallPropertiesResponse();
_resultValue.artifactId = artifactId;
_resultValue.artifactTitle = artifactTitle;
_resultValue.deploymentStatusMessage = deploymentStatusMessage;
_resultValue.installTime = installTime;
_resultValue.parameters = parameters;
_resultValue.status = status;
_resultValue.vmExtensionStatusMessage = vmExtensionStatusMessage;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy