com.pulumi.azurenative.devopsinfrastructure.outputs.SecretsManagementSettingsResponse 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.
The newest version!
// *** 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.devopsinfrastructure.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SecretsManagementSettingsResponse {
/**
* @return Where to store certificates on the machine.
*
*/
private @Nullable String certificateStoreLocation;
/**
* @return Defines if the key of the certificates should be exportable.
*
*/
private Boolean keyExportable;
/**
* @return The list of certificates to install on all machines in the pool.
*
*/
private List observedCertificates;
private SecretsManagementSettingsResponse() {}
/**
* @return Where to store certificates on the machine.
*
*/
public Optional certificateStoreLocation() {
return Optional.ofNullable(this.certificateStoreLocation);
}
/**
* @return Defines if the key of the certificates should be exportable.
*
*/
public Boolean keyExportable() {
return this.keyExportable;
}
/**
* @return The list of certificates to install on all machines in the pool.
*
*/
public List observedCertificates() {
return this.observedCertificates;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecretsManagementSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String certificateStoreLocation;
private Boolean keyExportable;
private List observedCertificates;
public Builder() {}
public Builder(SecretsManagementSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.certificateStoreLocation = defaults.certificateStoreLocation;
this.keyExportable = defaults.keyExportable;
this.observedCertificates = defaults.observedCertificates;
}
@CustomType.Setter
public Builder certificateStoreLocation(@Nullable String certificateStoreLocation) {
this.certificateStoreLocation = certificateStoreLocation;
return this;
}
@CustomType.Setter
public Builder keyExportable(Boolean keyExportable) {
if (keyExportable == null) {
throw new MissingRequiredPropertyException("SecretsManagementSettingsResponse", "keyExportable");
}
this.keyExportable = keyExportable;
return this;
}
@CustomType.Setter
public Builder observedCertificates(List observedCertificates) {
if (observedCertificates == null) {
throw new MissingRequiredPropertyException("SecretsManagementSettingsResponse", "observedCertificates");
}
this.observedCertificates = observedCertificates;
return this;
}
public Builder observedCertificates(String... observedCertificates) {
return observedCertificates(List.of(observedCertificates));
}
public SecretsManagementSettingsResponse build() {
final var _resultValue = new SecretsManagementSettingsResponse();
_resultValue.certificateStoreLocation = certificateStoreLocation;
_resultValue.keyExportable = keyExportable;
_resultValue.observedCertificates = observedCertificates;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy