com.pulumi.azurenative.synapse.outputs.SecureStringResponse 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.synapse.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SecureStringResponse {
/**
* @return Type of the secret.
* Expected value is 'SecureString'.
*
*/
private String type;
/**
* @return Value of secure string.
*
*/
private String value;
private SecureStringResponse() {}
/**
* @return Type of the secret.
* Expected value is 'SecureString'.
*
*/
public String type() {
return this.type;
}
/**
* @return Value of secure string.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecureStringResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String type;
private String value;
public Builder() {}
public Builder(SecureStringResponse defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("SecureStringResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("SecureStringResponse", "value");
}
this.value = value;
return this;
}
public SecureStringResponse build() {
final var _resultValue = new SecureStringResponse();
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy