com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetGatewayInterfacePlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** 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.ovhcloud.pulumi.ovh.CloudProject.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetGatewayInterfacePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetGatewayInterfacePlainArgs Empty = new GetGatewayInterfacePlainArgs();
/**
* ID of the gateway
*
*/
@Import(name="id", required=true)
private String id;
/**
* @return ID of the gateway
*
*/
public String id() {
return this.id;
}
/**
* ID of the interface
*
*/
@Import(name="interfaceId", required=true)
private String interfaceId;
/**
* @return ID of the interface
*
*/
public String interfaceId() {
return this.interfaceId;
}
/**
* Region of the gateway
*
*/
@Import(name="region", required=true)
private String region;
/**
* @return Region of the gateway
*
*/
public String region() {
return this.region;
}
/**
* ID of the cloud project
*
*/
@Import(name="serviceName", required=true)
private String serviceName;
/**
* @return ID of the cloud project
*
*/
public String serviceName() {
return this.serviceName;
}
private GetGatewayInterfacePlainArgs() {}
private GetGatewayInterfacePlainArgs(GetGatewayInterfacePlainArgs $) {
this.id = $.id;
this.interfaceId = $.interfaceId;
this.region = $.region;
this.serviceName = $.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGatewayInterfacePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetGatewayInterfacePlainArgs $;
public Builder() {
$ = new GetGatewayInterfacePlainArgs();
}
public Builder(GetGatewayInterfacePlainArgs defaults) {
$ = new GetGatewayInterfacePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param id ID of the gateway
*
* @return builder
*
*/
public Builder id(String id) {
$.id = id;
return this;
}
/**
* @param interfaceId ID of the interface
*
* @return builder
*
*/
public Builder interfaceId(String interfaceId) {
$.interfaceId = interfaceId;
return this;
}
/**
* @param region Region of the gateway
*
* @return builder
*
*/
public Builder region(String region) {
$.region = region;
return this;
}
/**
* @param serviceName ID of the cloud project
*
* @return builder
*
*/
public Builder serviceName(String serviceName) {
$.serviceName = serviceName;
return this;
}
public GetGatewayInterfacePlainArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("GetGatewayInterfacePlainArgs", "id");
}
if ($.interfaceId == null) {
throw new MissingRequiredPropertyException("GetGatewayInterfacePlainArgs", "interfaceId");
}
if ($.region == null) {
throw new MissingRequiredPropertyException("GetGatewayInterfacePlainArgs", "region");
}
if ($.serviceName == null) {
throw new MissingRequiredPropertyException("GetGatewayInterfacePlainArgs", "serviceName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy