Interface NetworkConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkConfig.Builder,NetworkConfig>
,SdkBuilder<NetworkConfig.Builder,NetworkConfig>
,SdkPojo
- Enclosing class:
- NetworkConfig
public static interface NetworkConfig.Builder extends SdkPojo, CopyableBuilder<NetworkConfig.Builder,NetworkConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkConfig.Builder
enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption)
Whether to encrypt all communications between distributed processing jobs.NetworkConfig.Builder
enableNetworkIsolation(Boolean enableNetworkIsolation)
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.default NetworkConfig.Builder
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object.NetworkConfig.Builder
vpcConfig(VpcConfig vpcConfig)
Sets the value of the VpcConfig 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 Detail
-
enableInterContainerTrafficEncryption
NetworkConfig.Builder enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption)
Whether to encrypt all communications between distributed processing jobs. Choose
True
to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.- Parameters:
enableInterContainerTrafficEncryption
- Whether to encrypt all communications between distributed processing jobs. ChooseTrue
to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableNetworkIsolation
NetworkConfig.Builder enableNetworkIsolation(Boolean enableNetworkIsolation)
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
- Parameters:
enableNetworkIsolation
- Whether to allow inbound and outbound network calls to and from the containers used for the processing job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
NetworkConfig.Builder vpcConfig(VpcConfig vpcConfig)
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig
- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default NetworkConfig.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
-