com.pulumi.googlenative.networkservices.v1.inputs.GetTcpRoutePlainArgs 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.googlenative.networkservices.v1.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetTcpRoutePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetTcpRoutePlainArgs Empty = new GetTcpRoutePlainArgs();
@Import(name="location", required=true)
private String location;
public String location() {
return this.location;
}
@Import(name="project")
private @Nullable String project;
public Optional project() {
return Optional.ofNullable(this.project);
}
@Import(name="tcpRouteId", required=true)
private String tcpRouteId;
public String tcpRouteId() {
return this.tcpRouteId;
}
private GetTcpRoutePlainArgs() {}
private GetTcpRoutePlainArgs(GetTcpRoutePlainArgs $) {
this.location = $.location;
this.project = $.project;
this.tcpRouteId = $.tcpRouteId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTcpRoutePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetTcpRoutePlainArgs $;
public Builder() {
$ = new GetTcpRoutePlainArgs();
}
public Builder(GetTcpRoutePlainArgs defaults) {
$ = new GetTcpRoutePlainArgs(Objects.requireNonNull(defaults));
}
public Builder location(String location) {
$.location = location;
return this;
}
public Builder project(@Nullable String project) {
$.project = project;
return this;
}
public Builder tcpRouteId(String tcpRouteId) {
$.tcpRouteId = tcpRouteId;
return this;
}
public GetTcpRoutePlainArgs build() {
$.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null");
$.tcpRouteId = Objects.requireNonNull($.tcpRouteId, "expected parameter 'tcpRouteId' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy