com.pulumi.azurenative.recoveryservices.outputs.InMageRcmFailbackNicDetailsResponse 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.recoveryservices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class InMageRcmFailbackNicDetailsResponse {
/**
* @return The adapter type.
*
*/
private String adapterType;
/**
* @return The mac address.
*
*/
private String macAddress;
/**
* @return The network name.
*
*/
private String networkName;
/**
* @return The IP address.
*
*/
private String sourceIpAddress;
private InMageRcmFailbackNicDetailsResponse() {}
/**
* @return The adapter type.
*
*/
public String adapterType() {
return this.adapterType;
}
/**
* @return The mac address.
*
*/
public String macAddress() {
return this.macAddress;
}
/**
* @return The network name.
*
*/
public String networkName() {
return this.networkName;
}
/**
* @return The IP address.
*
*/
public String sourceIpAddress() {
return this.sourceIpAddress;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageRcmFailbackNicDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String adapterType;
private String macAddress;
private String networkName;
private String sourceIpAddress;
public Builder() {}
public Builder(InMageRcmFailbackNicDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.adapterType = defaults.adapterType;
this.macAddress = defaults.macAddress;
this.networkName = defaults.networkName;
this.sourceIpAddress = defaults.sourceIpAddress;
}
@CustomType.Setter
public Builder adapterType(String adapterType) {
if (adapterType == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackNicDetailsResponse", "adapterType");
}
this.adapterType = adapterType;
return this;
}
@CustomType.Setter
public Builder macAddress(String macAddress) {
if (macAddress == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackNicDetailsResponse", "macAddress");
}
this.macAddress = macAddress;
return this;
}
@CustomType.Setter
public Builder networkName(String networkName) {
if (networkName == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackNicDetailsResponse", "networkName");
}
this.networkName = networkName;
return this;
}
@CustomType.Setter
public Builder sourceIpAddress(String sourceIpAddress) {
if (sourceIpAddress == null) {
throw new MissingRequiredPropertyException("InMageRcmFailbackNicDetailsResponse", "sourceIpAddress");
}
this.sourceIpAddress = sourceIpAddress;
return this;
}
public InMageRcmFailbackNicDetailsResponse build() {
final var _resultValue = new InMageRcmFailbackNicDetailsResponse();
_resultValue.adapterType = adapterType;
_resultValue.macAddress = macAddress;
_resultValue.networkName = networkName;
_resultValue.sourceIpAddress = sourceIpAddress;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy