com.pulumi.spotinst.outputs.ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotinst Show documentation
Show all versions of spotinst Show documentation
A Pulumi package for creating and managing spotinst cloud 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.spotinst.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault {
private String secretUrl;
private String sourceVault;
private ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault() {}
public String secretUrl() {
return this.secretUrl;
}
public String sourceVault() {
return this.sourceVault;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String secretUrl;
private String sourceVault;
public Builder() {}
public Builder(ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault defaults) {
Objects.requireNonNull(defaults);
this.secretUrl = defaults.secretUrl;
this.sourceVault = defaults.sourceVault;
}
@CustomType.Setter
public Builder secretUrl(String secretUrl) {
if (secretUrl == null) {
throw new MissingRequiredPropertyException("ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault", "secretUrl");
}
this.secretUrl = secretUrl;
return this;
}
@CustomType.Setter
public Builder sourceVault(String sourceVault) {
if (sourceVault == null) {
throw new MissingRequiredPropertyException("ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault", "sourceVault");
}
this.sourceVault = sourceVault;
return this;
}
public ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault build() {
final var _resultValue = new ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault();
_resultValue.secretUrl = secretUrl;
_resultValue.sourceVault = sourceVault;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy