@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfiguration extends Object implements Serializable, Cloneable
The virtual private cloud (VPC) configuration for an access point.
Constructor and Description |
---|
VpcConfiguration() |
Modifier and Type | Method and Description |
---|---|
VpcConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getVpcId()
If this field is specified, this access point will only allow connections from the specified VPC ID.
|
int |
hashCode() |
void |
setVpcId(String vpcId)
If this field is specified, this access point will only allow connections from the specified VPC ID.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
withVpcId(String vpcId)
If this field is specified, this access point will only allow connections from the specified VPC ID.
|
public void setVpcId(String vpcId)
If this field is specified, this access point will only allow connections from the specified VPC ID.
vpcId
- If this field is specified, this access point will only allow connections from the specified VPC ID.public String getVpcId()
If this field is specified, this access point will only allow connections from the specified VPC ID.
public VpcConfiguration withVpcId(String vpcId)
If this field is specified, this access point will only allow connections from the specified VPC ID.
vpcId
- If this field is specified, this access point will only allow connections from the specified VPC ID.public String toString()
toString
in class Object
Object.toString()
public VpcConfiguration clone()