com.pulumi.azurenative.iotoperationsmq.outputs.KeyVaultConnectionPropertiesResponse 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.iotoperationsmq.outputs;
import com.pulumi.azurenative.iotoperationsmq.outputs.KeyVaultCredentialsPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class KeyVaultConnectionPropertiesResponse {
/**
* @return KeyVault credentials.
*
*/
private KeyVaultCredentialsPropertiesResponse credentials;
/**
* @return KeyVault directoryId.
*
*/
private String directoryId;
/**
* @return KeyVault name.
*
*/
private String name;
private KeyVaultConnectionPropertiesResponse() {}
/**
* @return KeyVault credentials.
*
*/
public KeyVaultCredentialsPropertiesResponse credentials() {
return this.credentials;
}
/**
* @return KeyVault directoryId.
*
*/
public String directoryId() {
return this.directoryId;
}
/**
* @return KeyVault name.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyVaultConnectionPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private KeyVaultCredentialsPropertiesResponse credentials;
private String directoryId;
private String name;
public Builder() {}
public Builder(KeyVaultConnectionPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.credentials = defaults.credentials;
this.directoryId = defaults.directoryId;
this.name = defaults.name;
}
@CustomType.Setter
public Builder credentials(KeyVaultCredentialsPropertiesResponse credentials) {
if (credentials == null) {
throw new MissingRequiredPropertyException("KeyVaultConnectionPropertiesResponse", "credentials");
}
this.credentials = credentials;
return this;
}
@CustomType.Setter
public Builder directoryId(String directoryId) {
if (directoryId == null) {
throw new MissingRequiredPropertyException("KeyVaultConnectionPropertiesResponse", "directoryId");
}
this.directoryId = directoryId;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("KeyVaultConnectionPropertiesResponse", "name");
}
this.name = name;
return this;
}
public KeyVaultConnectionPropertiesResponse build() {
final var _resultValue = new KeyVaultConnectionPropertiesResponse();
_resultValue.credentials = credentials;
_resultValue.directoryId = directoryId;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy