com.pulumi.azurenative.servicelinker.outputs.ValueSecretInfoResponse 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.servicelinker.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 ValueSecretInfoResponse {
/**
* @return The secret type.
* Expected value is 'rawValue'.
*
*/
private String secretType;
/**
* @return The actual value of the secret.
*
*/
private @Nullable String value;
private ValueSecretInfoResponse() {}
/**
* @return The secret type.
* Expected value is 'rawValue'.
*
*/
public String secretType() {
return this.secretType;
}
/**
* @return The actual value of the secret.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ValueSecretInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String secretType;
private @Nullable String value;
public Builder() {}
public Builder(ValueSecretInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.secretType = defaults.secretType;
this.value = defaults.value;
}
@CustomType.Setter
public Builder secretType(String secretType) {
if (secretType == null) {
throw new MissingRequiredPropertyException("ValueSecretInfoResponse", "secretType");
}
this.secretType = secretType;
return this;
}
@CustomType.Setter
public Builder value(@Nullable String value) {
this.value = value;
return this;
}
public ValueSecretInfoResponse build() {
final var _resultValue = new ValueSecretInfoResponse();
_resultValue.secretType = secretType;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy