com.pulumi.azurenative.storagecache.outputs.KeyVaultKeyReferenceResponse 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.storagecache.outputs;
import com.pulumi.azurenative.storagecache.outputs.KeyVaultKeyReferenceResponseSourceVault;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class KeyVaultKeyReferenceResponse {
/**
* @return The URL referencing a key encryption key in key vault.
*
*/
private String keyUrl;
/**
* @return Describes a resource Id to source key vault.
*
*/
private KeyVaultKeyReferenceResponseSourceVault sourceVault;
private KeyVaultKeyReferenceResponse() {}
/**
* @return The URL referencing a key encryption key in key vault.
*
*/
public String keyUrl() {
return this.keyUrl;
}
/**
* @return Describes a resource Id to source key vault.
*
*/
public KeyVaultKeyReferenceResponseSourceVault sourceVault() {
return this.sourceVault;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyVaultKeyReferenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String keyUrl;
private KeyVaultKeyReferenceResponseSourceVault sourceVault;
public Builder() {}
public Builder(KeyVaultKeyReferenceResponse defaults) {
Objects.requireNonNull(defaults);
this.keyUrl = defaults.keyUrl;
this.sourceVault = defaults.sourceVault;
}
@CustomType.Setter
public Builder keyUrl(String keyUrl) {
if (keyUrl == null) {
throw new MissingRequiredPropertyException("KeyVaultKeyReferenceResponse", "keyUrl");
}
this.keyUrl = keyUrl;
return this;
}
@CustomType.Setter
public Builder sourceVault(KeyVaultKeyReferenceResponseSourceVault sourceVault) {
if (sourceVault == null) {
throw new MissingRequiredPropertyException("KeyVaultKeyReferenceResponse", "sourceVault");
}
this.sourceVault = sourceVault;
return this;
}
public KeyVaultKeyReferenceResponse build() {
final var _resultValue = new KeyVaultKeyReferenceResponse();
_resultValue.keyUrl = keyUrl;
_resultValue.sourceVault = sourceVault;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy