
com.pulumi.azurenative.network.outputs.ExpressRouteCircuitStatsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.network.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ExpressRouteCircuitStatsResponse {
/**
* @return The Primary BytesIn of the peering.
*
*/
private @Nullable Double primarybytesIn;
/**
* @return The primary BytesOut of the peering.
*
*/
private @Nullable Double primarybytesOut;
/**
* @return The secondary BytesIn of the peering.
*
*/
private @Nullable Double secondarybytesIn;
/**
* @return The secondary BytesOut of the peering.
*
*/
private @Nullable Double secondarybytesOut;
private ExpressRouteCircuitStatsResponse() {}
/**
* @return The Primary BytesIn of the peering.
*
*/
public Optional primarybytesIn() {
return Optional.ofNullable(this.primarybytesIn);
}
/**
* @return The primary BytesOut of the peering.
*
*/
public Optional primarybytesOut() {
return Optional.ofNullable(this.primarybytesOut);
}
/**
* @return The secondary BytesIn of the peering.
*
*/
public Optional secondarybytesIn() {
return Optional.ofNullable(this.secondarybytesIn);
}
/**
* @return The secondary BytesOut of the peering.
*
*/
public Optional secondarybytesOut() {
return Optional.ofNullable(this.secondarybytesOut);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExpressRouteCircuitStatsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double primarybytesIn;
private @Nullable Double primarybytesOut;
private @Nullable Double secondarybytesIn;
private @Nullable Double secondarybytesOut;
public Builder() {}
public Builder(ExpressRouteCircuitStatsResponse defaults) {
Objects.requireNonNull(defaults);
this.primarybytesIn = defaults.primarybytesIn;
this.primarybytesOut = defaults.primarybytesOut;
this.secondarybytesIn = defaults.secondarybytesIn;
this.secondarybytesOut = defaults.secondarybytesOut;
}
@CustomType.Setter
public Builder primarybytesIn(@Nullable Double primarybytesIn) {
this.primarybytesIn = primarybytesIn;
return this;
}
@CustomType.Setter
public Builder primarybytesOut(@Nullable Double primarybytesOut) {
this.primarybytesOut = primarybytesOut;
return this;
}
@CustomType.Setter
public Builder secondarybytesIn(@Nullable Double secondarybytesIn) {
this.secondarybytesIn = secondarybytesIn;
return this;
}
@CustomType.Setter
public Builder secondarybytesOut(@Nullable Double secondarybytesOut) {
this.secondarybytesOut = secondarybytesOut;
return this;
}
public ExpressRouteCircuitStatsResponse build() {
final var _resultValue = new ExpressRouteCircuitStatsResponse();
_resultValue.primarybytesIn = primarybytesIn;
_resultValue.primarybytesOut = primarybytesOut;
_resultValue.secondarybytesIn = secondarybytesIn;
_resultValue.secondarybytesOut = secondarybytesOut;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy