
com.pulumi.aws.redshiftserverless.outputs.EndpointAccessVpcEndpointNetworkInterface Maven / Gradle / Ivy
// *** 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.aws.redshiftserverless.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EndpointAccessVpcEndpointNetworkInterface {
/**
* @return The availability Zone.
*
*/
private @Nullable String availabilityZone;
/**
* @return The unique identifier of the network interface.
*
*/
private @Nullable String networkInterfaceId;
/**
* @return The IPv4 address of the network interface within the subnet.
*
*/
private @Nullable String privateIpAddress;
/**
* @return The unique identifier of the subnet.
*
*/
private @Nullable String subnetId;
private EndpointAccessVpcEndpointNetworkInterface() {}
/**
* @return The availability Zone.
*
*/
public Optional availabilityZone() {
return Optional.ofNullable(this.availabilityZone);
}
/**
* @return The unique identifier of the network interface.
*
*/
public Optional networkInterfaceId() {
return Optional.ofNullable(this.networkInterfaceId);
}
/**
* @return The IPv4 address of the network interface within the subnet.
*
*/
public Optional privateIpAddress() {
return Optional.ofNullable(this.privateIpAddress);
}
/**
* @return The unique identifier of the subnet.
*
*/
public Optional subnetId() {
return Optional.ofNullable(this.subnetId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EndpointAccessVpcEndpointNetworkInterface defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String availabilityZone;
private @Nullable String networkInterfaceId;
private @Nullable String privateIpAddress;
private @Nullable String subnetId;
public Builder() {}
public Builder(EndpointAccessVpcEndpointNetworkInterface defaults) {
Objects.requireNonNull(defaults);
this.availabilityZone = defaults.availabilityZone;
this.networkInterfaceId = defaults.networkInterfaceId;
this.privateIpAddress = defaults.privateIpAddress;
this.subnetId = defaults.subnetId;
}
@CustomType.Setter
public Builder availabilityZone(@Nullable String availabilityZone) {
this.availabilityZone = availabilityZone;
return this;
}
@CustomType.Setter
public Builder networkInterfaceId(@Nullable String networkInterfaceId) {
this.networkInterfaceId = networkInterfaceId;
return this;
}
@CustomType.Setter
public Builder privateIpAddress(@Nullable String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
return this;
}
@CustomType.Setter
public Builder subnetId(@Nullable String subnetId) {
this.subnetId = subnetId;
return this;
}
public EndpointAccessVpcEndpointNetworkInterface build() {
final var _resultValue = new EndpointAccessVpcEndpointNetworkInterface();
_resultValue.availabilityZone = availabilityZone;
_resultValue.networkInterfaceId = networkInterfaceId;
_resultValue.privateIpAddress = privateIpAddress;
_resultValue.subnetId = subnetId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy