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