@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The proposed virtual private cloud (VPC) configuration for the Amazon S3 access point. VPC configuration does not apply to multi-region access points. For more information, see VpcConfiguration.
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.