@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatedTargetNetwork extends Object implements Serializable, Cloneable
Describes a target network that is associated with a Client VPN endpoint. A target network is a subnet in a VPC.
| Constructor and Description |
|---|
AssociatedTargetNetwork() |
| Modifier and Type | Method and Description |
|---|---|
AssociatedTargetNetwork |
clone() |
boolean |
equals(Object obj) |
String |
getNetworkId()
The ID of the subnet.
|
String |
getNetworkType()
The target network type.
|
int |
hashCode() |
void |
setNetworkId(String networkId)
The ID of the subnet.
|
void |
setNetworkType(String networkType)
The target network type.
|
String |
toString()
Returns a string representation of this object.
|
AssociatedTargetNetwork |
withNetworkId(String networkId)
The ID of the subnet.
|
AssociatedTargetNetwork |
withNetworkType(AssociatedNetworkType networkType)
The target network type.
|
AssociatedTargetNetwork |
withNetworkType(String networkType)
The target network type.
|
public void setNetworkId(String networkId)
The ID of the subnet.
networkId - The ID of the subnet.public String getNetworkId()
The ID of the subnet.
public AssociatedTargetNetwork withNetworkId(String networkId)
The ID of the subnet.
networkId - The ID of the subnet.public void setNetworkType(String networkType)
The target network type.
networkType - The target network type.AssociatedNetworkTypepublic String getNetworkType()
The target network type.
AssociatedNetworkTypepublic AssociatedTargetNetwork withNetworkType(String networkType)
The target network type.
networkType - The target network type.AssociatedNetworkTypepublic AssociatedTargetNetwork withNetworkType(AssociatedNetworkType networkType)
The target network type.
networkType - The target network type.AssociatedNetworkTypepublic String toString()
toString in class ObjectObject.toString()public AssociatedTargetNetwork clone()