com.pulumi.aws.medialive.outputs.GetInputSource 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.aws.medialive.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetInputSource {
private String passwordParam;
private String url;
private String username;
private GetInputSource() {}
public String passwordParam() {
return this.passwordParam;
}
public String url() {
return this.url;
}
public String username() {
return this.username;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInputSource defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String passwordParam;
private String url;
private String username;
public Builder() {}
public Builder(GetInputSource defaults) {
Objects.requireNonNull(defaults);
this.passwordParam = defaults.passwordParam;
this.url = defaults.url;
this.username = defaults.username;
}
@CustomType.Setter
public Builder passwordParam(String passwordParam) {
if (passwordParam == null) {
throw new MissingRequiredPropertyException("GetInputSource", "passwordParam");
}
this.passwordParam = passwordParam;
return this;
}
@CustomType.Setter
public Builder url(String url) {
if (url == null) {
throw new MissingRequiredPropertyException("GetInputSource", "url");
}
this.url = url;
return this;
}
@CustomType.Setter
public Builder username(String username) {
if (username == null) {
throw new MissingRequiredPropertyException("GetInputSource", "username");
}
this.username = username;
return this;
}
public GetInputSource build() {
final var _resultValue = new GetInputSource();
_resultValue.passwordParam = passwordParam;
_resultValue.url = url;
_resultValue.username = username;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy