com.pulumi.azurenative.synapse.outputs.CmdkeySetupResponse 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.azurenative.synapse.outputs.SecureStringResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CmdkeySetupResponse {
/**
* @return The password of data source access.
*
*/
private SecureStringResponse password;
/**
* @return The server name of data source access.
*
*/
private Object targetName;
/**
* @return The type of custom setup.
* Expected value is 'CmdkeySetup'.
*
*/
private String type;
/**
* @return The user name of data source access.
*
*/
private Object userName;
private CmdkeySetupResponse() {}
/**
* @return The password of data source access.
*
*/
public SecureStringResponse password() {
return this.password;
}
/**
* @return The server name of data source access.
*
*/
public Object targetName() {
return this.targetName;
}
/**
* @return The type of custom setup.
* Expected value is 'CmdkeySetup'.
*
*/
public String type() {
return this.type;
}
/**
* @return The user name of data source access.
*
*/
public Object userName() {
return this.userName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CmdkeySetupResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private SecureStringResponse password;
private Object targetName;
private String type;
private Object userName;
public Builder() {}
public Builder(CmdkeySetupResponse defaults) {
Objects.requireNonNull(defaults);
this.password = defaults.password;
this.targetName = defaults.targetName;
this.type = defaults.type;
this.userName = defaults.userName;
}
@CustomType.Setter
public Builder password(SecureStringResponse password) {
if (password == null) {
throw new MissingRequiredPropertyException("CmdkeySetupResponse", "password");
}
this.password = password;
return this;
}
@CustomType.Setter
public Builder targetName(Object targetName) {
if (targetName == null) {
throw new MissingRequiredPropertyException("CmdkeySetupResponse", "targetName");
}
this.targetName = targetName;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("CmdkeySetupResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userName(Object userName) {
if (userName == null) {
throw new MissingRequiredPropertyException("CmdkeySetupResponse", "userName");
}
this.userName = userName;
return this;
}
public CmdkeySetupResponse build() {
final var _resultValue = new CmdkeySetupResponse();
_resultValue.password = password;
_resultValue.targetName = targetName;
_resultValue.type = type;
_resultValue.userName = userName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy