
com.pulumi.azurenative.network.outputs.DevicePropertiesResponse 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.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DevicePropertiesResponse {
/**
* @return Model of the device.
*
*/
private @Nullable String deviceModel;
/**
* @return Name of the device Vendor.
*
*/
private @Nullable String deviceVendor;
/**
* @return Link speed.
*
*/
private @Nullable Integer linkSpeedInMbps;
private DevicePropertiesResponse() {}
/**
* @return Model of the device.
*
*/
public Optional deviceModel() {
return Optional.ofNullable(this.deviceModel);
}
/**
* @return Name of the device Vendor.
*
*/
public Optional deviceVendor() {
return Optional.ofNullable(this.deviceVendor);
}
/**
* @return Link speed.
*
*/
public Optional linkSpeedInMbps() {
return Optional.ofNullable(this.linkSpeedInMbps);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DevicePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String deviceModel;
private @Nullable String deviceVendor;
private @Nullable Integer linkSpeedInMbps;
public Builder() {}
public Builder(DevicePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.deviceModel = defaults.deviceModel;
this.deviceVendor = defaults.deviceVendor;
this.linkSpeedInMbps = defaults.linkSpeedInMbps;
}
@CustomType.Setter
public Builder deviceModel(@Nullable String deviceModel) {
this.deviceModel = deviceModel;
return this;
}
@CustomType.Setter
public Builder deviceVendor(@Nullable String deviceVendor) {
this.deviceVendor = deviceVendor;
return this;
}
@CustomType.Setter
public Builder linkSpeedInMbps(@Nullable Integer linkSpeedInMbps) {
this.linkSpeedInMbps = linkSpeedInMbps;
return this;
}
public DevicePropertiesResponse build() {
final var _resultValue = new DevicePropertiesResponse();
_resultValue.deviceModel = deviceModel;
_resultValue.deviceVendor = deviceVendor;
_resultValue.linkSpeedInMbps = linkSpeedInMbps;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy