
com.pulumi.azurenative.azuredatatransfer.outputs.GetFlowDestinationEndpointPortsResult 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.azuredatatransfer.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetFlowDestinationEndpointPortsResult {
/**
* @return The destination endpoint port for the flow stream
*
*/
private @Nullable List ports;
private GetFlowDestinationEndpointPortsResult() {}
/**
* @return The destination endpoint port for the flow stream
*
*/
public List ports() {
return this.ports == null ? List.of() : this.ports;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFlowDestinationEndpointPortsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List ports;
public Builder() {}
public Builder(GetFlowDestinationEndpointPortsResult defaults) {
Objects.requireNonNull(defaults);
this.ports = defaults.ports;
}
@CustomType.Setter
public Builder ports(@Nullable List ports) {
this.ports = ports;
return this;
}
public Builder ports(Double... ports) {
return ports(List.of(ports));
}
public GetFlowDestinationEndpointPortsResult build() {
final var _resultValue = new GetFlowDestinationEndpointPortsResult();
_resultValue.ports = ports;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy