com.pulumi.alicloud.cloudfirewall.outputs.GetVpcFirewallCensCenLocalVpcEniList 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.cloudfirewall.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetVpcFirewallCensCenLocalVpcEniList {
private String eniId;
private String eniPrivateIpAddress;
private GetVpcFirewallCensCenLocalVpcEniList() {}
public String eniId() {
return this.eniId;
}
public String eniPrivateIpAddress() {
return this.eniPrivateIpAddress;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpcFirewallCensCenLocalVpcEniList defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String eniId;
private String eniPrivateIpAddress;
public Builder() {}
public Builder(GetVpcFirewallCensCenLocalVpcEniList defaults) {
Objects.requireNonNull(defaults);
this.eniId = defaults.eniId;
this.eniPrivateIpAddress = defaults.eniPrivateIpAddress;
}
@CustomType.Setter
public Builder eniId(String eniId) {
if (eniId == null) {
throw new MissingRequiredPropertyException("GetVpcFirewallCensCenLocalVpcEniList", "eniId");
}
this.eniId = eniId;
return this;
}
@CustomType.Setter
public Builder eniPrivateIpAddress(String eniPrivateIpAddress) {
if (eniPrivateIpAddress == null) {
throw new MissingRequiredPropertyException("GetVpcFirewallCensCenLocalVpcEniList", "eniPrivateIpAddress");
}
this.eniPrivateIpAddress = eniPrivateIpAddress;
return this;
}
public GetVpcFirewallCensCenLocalVpcEniList build() {
final var _resultValue = new GetVpcFirewallCensCenLocalVpcEniList();
_resultValue.eniId = eniId;
_resultValue.eniPrivateIpAddress = eniPrivateIpAddress;
return _resultValue;
}
}
}