
com.pulumi.azurenative.desktopvirtualization.outputs.AppAttachPackagePropertiesResponse 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.desktopvirtualization.outputs;
import com.pulumi.azurenative.desktopvirtualization.outputs.AppAttachPackageInfoPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AppAttachPackagePropertiesResponse {
/**
* @return Parameter indicating how the health check should behave if this package fails staging
*
*/
private @Nullable String failHealthCheckOnStagingFailure;
/**
* @return List of Hostpool resource Ids.
*
*/
private @Nullable List hostPoolReferences;
/**
* @return Detailed properties for App Attach Package
*
*/
private @Nullable AppAttachPackageInfoPropertiesResponse image;
/**
* @return URL of keyvault location to store certificate
*
*/
private @Nullable String keyVaultURL;
/**
* @return The provisioning state of the App Attach Package.
*
*/
private String provisioningState;
private AppAttachPackagePropertiesResponse() {}
/**
* @return Parameter indicating how the health check should behave if this package fails staging
*
*/
public Optional failHealthCheckOnStagingFailure() {
return Optional.ofNullable(this.failHealthCheckOnStagingFailure);
}
/**
* @return List of Hostpool resource Ids.
*
*/
public List hostPoolReferences() {
return this.hostPoolReferences == null ? List.of() : this.hostPoolReferences;
}
/**
* @return Detailed properties for App Attach Package
*
*/
public Optional image() {
return Optional.ofNullable(this.image);
}
/**
* @return URL of keyvault location to store certificate
*
*/
public Optional keyVaultURL() {
return Optional.ofNullable(this.keyVaultURL);
}
/**
* @return The provisioning state of the App Attach Package.
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppAttachPackagePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String failHealthCheckOnStagingFailure;
private @Nullable List hostPoolReferences;
private @Nullable AppAttachPackageInfoPropertiesResponse image;
private @Nullable String keyVaultURL;
private String provisioningState;
public Builder() {}
public Builder(AppAttachPackagePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.failHealthCheckOnStagingFailure = defaults.failHealthCheckOnStagingFailure;
this.hostPoolReferences = defaults.hostPoolReferences;
this.image = defaults.image;
this.keyVaultURL = defaults.keyVaultURL;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder failHealthCheckOnStagingFailure(@Nullable String failHealthCheckOnStagingFailure) {
this.failHealthCheckOnStagingFailure = failHealthCheckOnStagingFailure;
return this;
}
@CustomType.Setter
public Builder hostPoolReferences(@Nullable List hostPoolReferences) {
this.hostPoolReferences = hostPoolReferences;
return this;
}
public Builder hostPoolReferences(String... hostPoolReferences) {
return hostPoolReferences(List.of(hostPoolReferences));
}
@CustomType.Setter
public Builder image(@Nullable AppAttachPackageInfoPropertiesResponse image) {
this.image = image;
return this;
}
@CustomType.Setter
public Builder keyVaultURL(@Nullable String keyVaultURL) {
this.keyVaultURL = keyVaultURL;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("AppAttachPackagePropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public AppAttachPackagePropertiesResponse build() {
final var _resultValue = new AppAttachPackagePropertiesResponse();
_resultValue.failHealthCheckOnStagingFailure = failHealthCheckOnStagingFailure;
_resultValue.hostPoolReferences = hostPoolReferences;
_resultValue.image = image;
_resultValue.keyVaultURL = keyVaultURL;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy