Interface NetworkOriginConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkOriginConfiguration.Builder,
,NetworkOriginConfiguration> SdkBuilder<NetworkOriginConfiguration.Builder,
,NetworkOriginConfiguration> SdkPojo
- Enclosing class:
NetworkOriginConfiguration
public static interface NetworkOriginConfiguration.Builder
extends SdkPojo, CopyableBuilder<NetworkOriginConfiguration.Builder,NetworkOriginConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioninternetConfiguration
(Consumer<InternetConfiguration.Builder> internetConfiguration) The configuration for the Amazon S3 access point or multi-region access point with anInternet
origin.internetConfiguration
(InternetConfiguration internetConfiguration) The configuration for the Amazon S3 access point or multi-region access point with anInternet
origin.vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object.vpcConfiguration
(VpcConfiguration vpcConfiguration) Sets the value of the VpcConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vpcConfiguration
Sets the value of the VpcConfiguration property for this object.- Parameters:
vpcConfiguration
- The new value for the VpcConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default NetworkOriginConfiguration.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object. This is a convenience method that creates an instance of theVpcConfiguration.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(VpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
internetConfiguration
NetworkOriginConfiguration.Builder internetConfiguration(InternetConfiguration internetConfiguration) The configuration for the Amazon S3 access point or multi-region access point with an
Internet
origin.- Parameters:
internetConfiguration
- The configuration for the Amazon S3 access point or multi-region access point with anInternet
origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetConfiguration
default NetworkOriginConfiguration.Builder internetConfiguration(Consumer<InternetConfiguration.Builder> internetConfiguration) The configuration for the Amazon S3 access point or multi-region access point with an
This is a convenience method that creates an instance of theInternet
origin.InternetConfiguration.Builder
avoiding the need to create one manually viaInternetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointernetConfiguration(InternetConfiguration)
.- Parameters:
internetConfiguration
- a consumer that will call methods onInternetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-