com.pulumi.azurenative.batch.outputs.EncryptionPropertiesResponse 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.batch.outputs;
import com.pulumi.azurenative.batch.outputs.KeyVaultPropertiesResponse;
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 EncryptionPropertiesResponse {
/**
* @return Type of the key source.
*
*/
private @Nullable String keySource;
/**
* @return Additional details when using Microsoft.KeyVault
*
*/
private @Nullable KeyVaultPropertiesResponse keyVaultProperties;
private EncryptionPropertiesResponse() {}
/**
* @return Type of the key source.
*
*/
public Optional keySource() {
return Optional.ofNullable(this.keySource);
}
/**
* @return Additional details when using Microsoft.KeyVault
*
*/
public Optional keyVaultProperties() {
return Optional.ofNullable(this.keyVaultProperties);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EncryptionPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String keySource;
private @Nullable KeyVaultPropertiesResponse keyVaultProperties;
public Builder() {}
public Builder(EncryptionPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.keySource = defaults.keySource;
this.keyVaultProperties = defaults.keyVaultProperties;
}
@CustomType.Setter
public Builder keySource(@Nullable String keySource) {
this.keySource = keySource;
return this;
}
@CustomType.Setter
public Builder keyVaultProperties(@Nullable KeyVaultPropertiesResponse keyVaultProperties) {
this.keyVaultProperties = keyVaultProperties;
return this;
}
public EncryptionPropertiesResponse build() {
final var _resultValue = new EncryptionPropertiesResponse();
_resultValue.keySource = keySource;
_resultValue.keyVaultProperties = keyVaultProperties;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy