
com.pulumi.azurenative.azurestackhci.outputs.UpdatePrerequisiteResponse 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.azurestackhci.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 UpdatePrerequisiteResponse {
/**
* @return Friendly name of the prerequisite.
*
*/
private @Nullable String packageName;
/**
* @return Updatable component type.
*
*/
private @Nullable String updateType;
/**
* @return Version of the prerequisite.
*
*/
private @Nullable String version;
private UpdatePrerequisiteResponse() {}
/**
* @return Friendly name of the prerequisite.
*
*/
public Optional packageName() {
return Optional.ofNullable(this.packageName);
}
/**
* @return Updatable component type.
*
*/
public Optional updateType() {
return Optional.ofNullable(this.updateType);
}
/**
* @return Version of the prerequisite.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UpdatePrerequisiteResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String packageName;
private @Nullable String updateType;
private @Nullable String version;
public Builder() {}
public Builder(UpdatePrerequisiteResponse defaults) {
Objects.requireNonNull(defaults);
this.packageName = defaults.packageName;
this.updateType = defaults.updateType;
this.version = defaults.version;
}
@CustomType.Setter
public Builder packageName(@Nullable String packageName) {
this.packageName = packageName;
return this;
}
@CustomType.Setter
public Builder updateType(@Nullable String updateType) {
this.updateType = updateType;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public UpdatePrerequisiteResponse build() {
final var _resultValue = new UpdatePrerequisiteResponse();
_resultValue.packageName = packageName;
_resultValue.updateType = updateType;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy