com.pulumi.azurenative.dataprotection.outputs.SecretStoreResourceResponse 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.dataprotection.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SecretStoreResourceResponse {
/**
* @return Gets or sets the type of secret store
*
*/
private String secretStoreType;
/**
* @return Uri to get to the resource
*
*/
private @Nullable String uri;
/**
* @return Gets or sets value stored in secret store resource
*
*/
private @Nullable String value;
private SecretStoreResourceResponse() {}
/**
* @return Gets or sets the type of secret store
*
*/
public String secretStoreType() {
return this.secretStoreType;
}
/**
* @return Uri to get to the resource
*
*/
public Optional uri() {
return Optional.ofNullable(this.uri);
}
/**
* @return Gets or sets value stored in secret store resource
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecretStoreResourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String secretStoreType;
private @Nullable String uri;
private @Nullable String value;
public Builder() {}
public Builder(SecretStoreResourceResponse defaults) {
Objects.requireNonNull(defaults);
this.secretStoreType = defaults.secretStoreType;
this.uri = defaults.uri;
this.value = defaults.value;
}
@CustomType.Setter
public Builder secretStoreType(String secretStoreType) {
if (secretStoreType == null) {
throw new MissingRequiredPropertyException("SecretStoreResourceResponse", "secretStoreType");
}
this.secretStoreType = secretStoreType;
return this;
}
@CustomType.Setter
public Builder uri(@Nullable String uri) {
this.uri = uri;
return this;
}
@CustomType.Setter
public Builder value(@Nullable String value) {
this.value = value;
return this;
}
public SecretStoreResourceResponse build() {
final var _resultValue = new SecretStoreResourceResponse();
_resultValue.secretStoreType = secretStoreType;
_resultValue.uri = uri;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy