com.pulumi.alicloud.ddos.outputs.GetDdosBgpInstancesInstance 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.ddos.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDdosBgpInstancesInstance {
/**
* @return The instance's elastic defend bandwidth.
*
*/
private Integer bandwidth;
/**
* @return The instance's base defend bandwidth.
*
*/
private Integer baseBandwidth;
/**
* @return The instance's id.
*
*/
private String id;
/**
* @return The instance's count of ip config.
*
*/
private Integer ipCount;
/**
* @return The instance's IP version.
*
*/
private String ipType;
/**
* @return The instance's remark.
*
*/
private String name;
/**
* @return Normal defend bandwidth of the instance. The unit is Gbps.
*
*/
private Integer normalBandwidth;
/**
* @return The instance's region.
*
*/
private String region;
/**
* @return The instance's type.
*
*/
private String type;
private GetDdosBgpInstancesInstance() {}
/**
* @return The instance's elastic defend bandwidth.
*
*/
public Integer bandwidth() {
return this.bandwidth;
}
/**
* @return The instance's base defend bandwidth.
*
*/
public Integer baseBandwidth() {
return this.baseBandwidth;
}
/**
* @return The instance's id.
*
*/
public String id() {
return this.id;
}
/**
* @return The instance's count of ip config.
*
*/
public Integer ipCount() {
return this.ipCount;
}
/**
* @return The instance's IP version.
*
*/
public String ipType() {
return this.ipType;
}
/**
* @return The instance's remark.
*
*/
public String name() {
return this.name;
}
/**
* @return Normal defend bandwidth of the instance. The unit is Gbps.
*
*/
public Integer normalBandwidth() {
return this.normalBandwidth;
}
/**
* @return The instance's region.
*
*/
public String region() {
return this.region;
}
/**
* @return The instance's type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDdosBgpInstancesInstance defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer bandwidth;
private Integer baseBandwidth;
private String id;
private Integer ipCount;
private String ipType;
private String name;
private Integer normalBandwidth;
private String region;
private String type;
public Builder() {}
public Builder(GetDdosBgpInstancesInstance defaults) {
Objects.requireNonNull(defaults);
this.bandwidth = defaults.bandwidth;
this.baseBandwidth = defaults.baseBandwidth;
this.id = defaults.id;
this.ipCount = defaults.ipCount;
this.ipType = defaults.ipType;
this.name = defaults.name;
this.normalBandwidth = defaults.normalBandwidth;
this.region = defaults.region;
this.type = defaults.type;
}
@CustomType.Setter
public Builder bandwidth(Integer bandwidth) {
if (bandwidth == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "bandwidth");
}
this.bandwidth = bandwidth;
return this;
}
@CustomType.Setter
public Builder baseBandwidth(Integer baseBandwidth) {
if (baseBandwidth == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "baseBandwidth");
}
this.baseBandwidth = baseBandwidth;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder ipCount(Integer ipCount) {
if (ipCount == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "ipCount");
}
this.ipCount = ipCount;
return this;
}
@CustomType.Setter
public Builder ipType(String ipType) {
if (ipType == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "ipType");
}
this.ipType = ipType;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder normalBandwidth(Integer normalBandwidth) {
if (normalBandwidth == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "normalBandwidth");
}
this.normalBandwidth = normalBandwidth;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "region");
}
this.region = region;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDdosBgpInstancesInstance", "type");
}
this.type = type;
return this;
}
public GetDdosBgpInstancesInstance build() {
final var _resultValue = new GetDdosBgpInstancesInstance();
_resultValue.bandwidth = bandwidth;
_resultValue.baseBandwidth = baseBandwidth;
_resultValue.id = id;
_resultValue.ipCount = ipCount;
_resultValue.ipType = ipType;
_resultValue.name = name;
_resultValue.normalBandwidth = normalBandwidth;
_resultValue.region = region;
_resultValue.type = type;
return _resultValue;
}
}
}