@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3AccessPointVpcConfigurationDetails extends Object implements Serializable, Cloneable, StructuredPojo
The virtual private cloud (VPC) configuration for an Amazon S3 access point.
| Constructor and Description |
|---|
AwsS3AccessPointVpcConfigurationDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsS3AccessPointVpcConfigurationDetails |
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.
|
AwsS3AccessPointVpcConfigurationDetails |
withVpcId(String vpcId)
If this field is specified, this access point will only allow connections from the specified VPC ID.
|
public AwsS3AccessPointVpcConfigurationDetails()
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 AwsS3AccessPointVpcConfigurationDetails 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 ObjectObject.toString()public AwsS3AccessPointVpcConfigurationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.