com.pulumi.alicloud.mse.outputs.GetGatewaysGateway Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.pulumi.alicloud.mse.outputs;
import com.pulumi.alicloud.mse.outputs.GetGatewaysGatewaySlbList;
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 GetGatewaysGateway {
/**
* @return The backup vswitch id.
*
*/
private String backupVswitchId;
/**
* @return The name of the Gateway.
*
*/
private String gatewayName;
/**
* @return Gateway unique identification.
*
*/
private String gatewayUniqueId;
/**
* @return The ID of the Gateway.
*
*/
private String id;
/**
* @return The payment type of the resource.
*
*/
private String paymentType;
/**
* @return Number of Gateway Nodes.
*
*/
private String replica;
/**
* @return A list of gateway Slb.
*
*/
private List slbLists;
/**
* @return Gateway Node Specifications.
*
*/
private String spec;
/**
* @return The status of the gateway.
*
*/
private String status;
/**
* @return The ID of the vpc.
*
*/
private String vpcId;
/**
* @return The ID of the vswitch.
*
*/
private String vswitchId;
private GetGatewaysGateway() {}
/**
* @return The backup vswitch id.
*
*/
public String backupVswitchId() {
return this.backupVswitchId;
}
/**
* @return The name of the Gateway.
*
*/
public String gatewayName() {
return this.gatewayName;
}
/**
* @return Gateway unique identification.
*
*/
public String gatewayUniqueId() {
return this.gatewayUniqueId;
}
/**
* @return The ID of the Gateway.
*
*/
public String id() {
return this.id;
}
/**
* @return The payment type of the resource.
*
*/
public String paymentType() {
return this.paymentType;
}
/**
* @return Number of Gateway Nodes.
*
*/
public String replica() {
return this.replica;
}
/**
* @return A list of gateway Slb.
*
*/
public List slbLists() {
return this.slbLists;
}
/**
* @return Gateway Node Specifications.
*
*/
public String spec() {
return this.spec;
}
/**
* @return The status of the gateway.
*
*/
public String status() {
return this.status;
}
/**
* @return The ID of the vpc.
*
*/
public String vpcId() {
return this.vpcId;
}
/**
* @return The ID of the vswitch.
*
*/
public String vswitchId() {
return this.vswitchId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGatewaysGateway defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String backupVswitchId;
private String gatewayName;
private String gatewayUniqueId;
private String id;
private String paymentType;
private String replica;
private List slbLists;
private String spec;
private String status;
private String vpcId;
private String vswitchId;
public Builder() {}
public Builder(GetGatewaysGateway defaults) {
Objects.requireNonNull(defaults);
this.backupVswitchId = defaults.backupVswitchId;
this.gatewayName = defaults.gatewayName;
this.gatewayUniqueId = defaults.gatewayUniqueId;
this.id = defaults.id;
this.paymentType = defaults.paymentType;
this.replica = defaults.replica;
this.slbLists = defaults.slbLists;
this.spec = defaults.spec;
this.status = defaults.status;
this.vpcId = defaults.vpcId;
this.vswitchId = defaults.vswitchId;
}
@CustomType.Setter
public Builder backupVswitchId(String backupVswitchId) {
if (backupVswitchId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "backupVswitchId");
}
this.backupVswitchId = backupVswitchId;
return this;
}
@CustomType.Setter
public Builder gatewayName(String gatewayName) {
if (gatewayName == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "gatewayName");
}
this.gatewayName = gatewayName;
return this;
}
@CustomType.Setter
public Builder gatewayUniqueId(String gatewayUniqueId) {
if (gatewayUniqueId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "gatewayUniqueId");
}
this.gatewayUniqueId = gatewayUniqueId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder paymentType(String paymentType) {
if (paymentType == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "paymentType");
}
this.paymentType = paymentType;
return this;
}
@CustomType.Setter
public Builder replica(String replica) {
if (replica == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "replica");
}
this.replica = replica;
return this;
}
@CustomType.Setter
public Builder slbLists(List slbLists) {
if (slbLists == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "slbLists");
}
this.slbLists = slbLists;
return this;
}
public Builder slbLists(GetGatewaysGatewaySlbList... slbLists) {
return slbLists(List.of(slbLists));
}
@CustomType.Setter
public Builder spec(String spec) {
if (spec == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "spec");
}
this.spec = spec;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "vpcId");
}
this.vpcId = vpcId;
return this;
}
@CustomType.Setter
public Builder vswitchId(String vswitchId) {
if (vswitchId == null) {
throw new MissingRequiredPropertyException("GetGatewaysGateway", "vswitchId");
}
this.vswitchId = vswitchId;
return this;
}
public GetGatewaysGateway build() {
final var _resultValue = new GetGatewaysGateway();
_resultValue.backupVswitchId = backupVswitchId;
_resultValue.gatewayName = gatewayName;
_resultValue.gatewayUniqueId = gatewayUniqueId;
_resultValue.id = id;
_resultValue.paymentType = paymentType;
_resultValue.replica = replica;
_resultValue.slbLists = slbLists;
_resultValue.spec = spec;
_resultValue.status = status;
_resultValue.vpcId = vpcId;
_resultValue.vswitchId = vswitchId;
return _resultValue;
}
}
}