@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubnetConfiguration extends Object implements Serializable, Cloneable
Describes the configuration of a subnet for a VPC endpoint.
Constructor and Description |
---|
SubnetConfiguration() |
Modifier and Type | Method and Description |
---|---|
SubnetConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getIpv4()
The IPv4 address to assign to the endpoint network interface in the subnet.
|
String |
getIpv6()
The IPv6 address to assign to the endpoint network interface in the subnet.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
void |
setIpv4(String ipv4)
The IPv4 address to assign to the endpoint network interface in the subnet.
|
void |
setIpv6(String ipv6)
The IPv6 address to assign to the endpoint network interface in the subnet.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
SubnetConfiguration |
withIpv4(String ipv4)
The IPv4 address to assign to the endpoint network interface in the subnet.
|
SubnetConfiguration |
withIpv6(String ipv6)
The IPv6 address to assign to the endpoint network interface in the subnet.
|
SubnetConfiguration |
withSubnetId(String subnetId)
The ID of the subnet.
|
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public SubnetConfiguration withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setIpv4(String ipv4)
The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.
If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
ipv4
- The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4
address if the VPC endpoint supports IPv4.
If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
public String getIpv4()
The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.
If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
public SubnetConfiguration withIpv4(String ipv4)
The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.
If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
ipv4
- The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4
address if the VPC endpoint supports IPv4.
If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
public void setIpv6(String ipv6)
The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
ipv6
- The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6
address if the VPC endpoint supports IPv6.
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
public String getIpv6()
The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
public SubnetConfiguration withIpv6(String ipv6)
The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
ipv6
- The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6
address if the VPC endpoint supports IPv6.
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.
public String toString()
toString
in class Object
Object.toString()
public SubnetConfiguration clone()