
com.pulumi.azurenative.app.outputs.SecretResponse 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.
// *** 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.app.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 SecretResponse {
/**
* @return Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
*
*/
private @Nullable String identity;
/**
* @return Azure Key Vault URL pointing to the secret referenced by the container app.
*
*/
private @Nullable String keyVaultUrl;
/**
* @return Secret Name.
*
*/
private @Nullable String name;
private SecretResponse() {}
/**
* @return Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Azure Key Vault URL pointing to the secret referenced by the container app.
*
*/
public Optional keyVaultUrl() {
return Optional.ofNullable(this.keyVaultUrl);
}
/**
* @return Secret Name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecretResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String identity;
private @Nullable String keyVaultUrl;
private @Nullable String name;
public Builder() {}
public Builder(SecretResponse defaults) {
Objects.requireNonNull(defaults);
this.identity = defaults.identity;
this.keyVaultUrl = defaults.keyVaultUrl;
this.name = defaults.name;
}
@CustomType.Setter
public Builder identity(@Nullable String identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder keyVaultUrl(@Nullable String keyVaultUrl) {
this.keyVaultUrl = keyVaultUrl;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
public SecretResponse build() {
final var _resultValue = new SecretResponse();
_resultValue.identity = identity;
_resultValue.keyVaultUrl = keyVaultUrl;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy