
com.pulumi.azurenative.compute.outputs.UserArtifactManageResponse 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.compute.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 UserArtifactManageResponse {
/**
* @return Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
*
*/
private String install;
/**
* @return Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
*
*/
private String remove;
/**
* @return Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
*
*/
private @Nullable String update;
private UserArtifactManageResponse() {}
/**
* @return Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
*
*/
public String install() {
return this.install;
}
/**
* @return Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
*
*/
public String remove() {
return this.remove;
}
/**
* @return Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
*
*/
public Optional update() {
return Optional.ofNullable(this.update);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserArtifactManageResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String install;
private String remove;
private @Nullable String update;
public Builder() {}
public Builder(UserArtifactManageResponse defaults) {
Objects.requireNonNull(defaults);
this.install = defaults.install;
this.remove = defaults.remove;
this.update = defaults.update;
}
@CustomType.Setter
public Builder install(String install) {
if (install == null) {
throw new MissingRequiredPropertyException("UserArtifactManageResponse", "install");
}
this.install = install;
return this;
}
@CustomType.Setter
public Builder remove(String remove) {
if (remove == null) {
throw new MissingRequiredPropertyException("UserArtifactManageResponse", "remove");
}
this.remove = remove;
return this;
}
@CustomType.Setter
public Builder update(@Nullable String update) {
this.update = update;
return this;
}
public UserArtifactManageResponse build() {
final var _resultValue = new UserArtifactManageResponse();
_resultValue.install = install;
_resultValue.remove = remove;
_resultValue.update = update;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy