@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkOriginConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The proposed InternetConfiguration
or VpcConfiguration
to apply to the Amazon S3 Access
point. You can make the access point accessible from the internet, or you can specify that all requests made through
that access point must originate from a specific virtual private cloud (VPC). You can specify only one type of
network configuration. For more information, see Creating access points.
Constructor and Description |
---|
NetworkOriginConfiguration() |
Modifier and Type | Method and Description |
---|---|
NetworkOriginConfiguration |
clone() |
boolean |
equals(Object obj) |
InternetConfiguration |
getInternetConfiguration()
The configuration for the Amazon S3 access point with an
Internet origin. |
VpcConfiguration |
getVpcConfiguration() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInternetConfiguration(InternetConfiguration internetConfiguration)
The configuration for the Amazon S3 access point with an
Internet origin. |
void |
setVpcConfiguration(VpcConfiguration vpcConfiguration) |
String |
toString()
Returns a string representation of this object.
|
NetworkOriginConfiguration |
withInternetConfiguration(InternetConfiguration internetConfiguration)
The configuration for the Amazon S3 access point with an
Internet origin. |
NetworkOriginConfiguration |
withVpcConfiguration(VpcConfiguration vpcConfiguration) |
public void setInternetConfiguration(InternetConfiguration internetConfiguration)
The configuration for the Amazon S3 access point with an Internet
origin.
internetConfiguration
- The configuration for the Amazon S3 access point with an Internet
origin.public InternetConfiguration getInternetConfiguration()
The configuration for the Amazon S3 access point with an Internet
origin.
Internet
origin.public NetworkOriginConfiguration withInternetConfiguration(InternetConfiguration internetConfiguration)
The configuration for the Amazon S3 access point with an Internet
origin.
internetConfiguration
- The configuration for the Amazon S3 access point with an Internet
origin.public void setVpcConfiguration(VpcConfiguration vpcConfiguration)
vpcConfiguration
- public VpcConfiguration getVpcConfiguration()
public NetworkOriginConfiguration withVpcConfiguration(VpcConfiguration vpcConfiguration)
vpcConfiguration
- public String toString()
toString
in class Object
Object.toString()
public NetworkOriginConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.