@Generated(value="software.amazon.awssdk:codegen") public final class NetworkOriginConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkOriginConfiguration.Builder,NetworkOriginConfiguration>
The proposed InternetConfiguration or VpcConfiguration to apply to the Amazon S3 access
point. VpcConfiguration does not apply to multi-region access points. 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkOriginConfiguration.Builder |
static class |
NetworkOriginConfiguration.Type |
| Modifier and Type | Method and Description |
|---|---|
static NetworkOriginConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static NetworkOriginConfiguration |
fromInternetConfiguration(Consumer<InternetConfiguration.Builder> internetConfiguration)
Create an instance of this class with
internetConfiguration() initialized to the given value. |
static NetworkOriginConfiguration |
fromInternetConfiguration(InternetConfiguration internetConfiguration)
Create an instance of this class with
internetConfiguration() initialized to the given value. |
static NetworkOriginConfiguration |
fromVpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)
Create an instance of this class with
vpcConfiguration() initialized to the given value. |
static NetworkOriginConfiguration |
fromVpcConfiguration(VpcConfiguration vpcConfiguration)
Create an instance of this class with
vpcConfiguration() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InternetConfiguration |
internetConfiguration()
The configuration for the Amazon S3 access point or multi-region access point with an
Internet
origin. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkOriginConfiguration.Builder> |
serializableBuilderClass() |
NetworkOriginConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
NetworkOriginConfiguration.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
VpcConfiguration |
vpcConfiguration()
Returns the value of the VpcConfiguration property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InternetConfiguration internetConfiguration()
The configuration for the Amazon S3 access point or multi-region access point with an Internet
origin.
Internet origin.public final VpcConfiguration vpcConfiguration()
public NetworkOriginConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkOriginConfiguration.Builder,NetworkOriginConfiguration>public static NetworkOriginConfiguration.Builder builder()
public static Class<? extends NetworkOriginConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static NetworkOriginConfiguration fromInternetConfiguration(InternetConfiguration internetConfiguration)
internetConfiguration() initialized to the given value.
The configuration for the Amazon S3 access point or multi-region access point with an Internet
origin.
internetConfiguration - The configuration for the Amazon S3 access point or multi-region access point with an
Internet origin.public static NetworkOriginConfiguration fromInternetConfiguration(Consumer<InternetConfiguration.Builder> internetConfiguration)
internetConfiguration() initialized to the given value.
The configuration for the Amazon S3 access point or multi-region access point with an Internet
origin.
internetConfiguration - The configuration for the Amazon S3 access point or multi-region access point with an
Internet origin.public static NetworkOriginConfiguration fromVpcConfiguration(VpcConfiguration vpcConfiguration)
vpcConfiguration() initialized to the given value.
Sets the value of the VpcConfiguration property for this object.vpcConfiguration - The new value for the VpcConfiguration property for this object.public static NetworkOriginConfiguration fromVpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)
vpcConfiguration() initialized to the given value.
Sets the value of the VpcConfiguration property for this object.vpcConfiguration - The new value for the VpcConfiguration property for this object.public NetworkOriginConfiguration.Type type()
Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.