
com.pulumi.azurenative.datafactory.outputs.WebBasicAuthenticationResponse Maven / Gradle / Ivy
// *** 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.datafactory.outputs;
import com.pulumi.azurenative.datafactory.outputs.AzureKeyVaultSecretReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.SecureStringResponse;
import com.pulumi.core.Either;
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 WebBasicAuthenticationResponse {
/**
* @return Type of authentication used to connect to the web table source.
* Expected value is 'Basic'.
*
*/
private String authenticationType;
/**
* @return The password for Basic authentication.
*
*/
private Either password;
/**
* @return The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string).
*
*/
private Object url;
/**
* @return User name for Basic authentication. Type: string (or Expression with resultType string).
*
*/
private Object username;
private WebBasicAuthenticationResponse() {}
/**
* @return Type of authentication used to connect to the web table source.
* Expected value is 'Basic'.
*
*/
public String authenticationType() {
return this.authenticationType;
}
/**
* @return The password for Basic authentication.
*
*/
public Either password() {
return this.password;
}
/**
* @return The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string).
*
*/
public Object url() {
return this.url;
}
/**
* @return User name for Basic authentication. Type: string (or Expression with resultType string).
*
*/
public Object username() {
return this.username;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebBasicAuthenticationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String authenticationType;
private Either password;
private Object url;
private Object username;
public Builder() {}
public Builder(WebBasicAuthenticationResponse defaults) {
Objects.requireNonNull(defaults);
this.authenticationType = defaults.authenticationType;
this.password = defaults.password;
this.url = defaults.url;
this.username = defaults.username;
}
@CustomType.Setter
public Builder authenticationType(String authenticationType) {
if (authenticationType == null) {
throw new MissingRequiredPropertyException("WebBasicAuthenticationResponse", "authenticationType");
}
this.authenticationType = authenticationType;
return this;
}
@CustomType.Setter
public Builder password(Either password) {
if (password == null) {
throw new MissingRequiredPropertyException("WebBasicAuthenticationResponse", "password");
}
this.password = password;
return this;
}
@CustomType.Setter
public Builder url(Object url) {
if (url == null) {
throw new MissingRequiredPropertyException("WebBasicAuthenticationResponse", "url");
}
this.url = url;
return this;
}
@CustomType.Setter
public Builder username(Object username) {
if (username == null) {
throw new MissingRequiredPropertyException("WebBasicAuthenticationResponse", "username");
}
this.username = username;
return this;
}
public WebBasicAuthenticationResponse build() {
final var _resultValue = new WebBasicAuthenticationResponse();
_resultValue.authenticationType = authenticationType;
_resultValue.password = password;
_resultValue.url = url;
_resultValue.username = username;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy