Interface CodeInterpreterNetworkConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeInterpreterNetworkConfiguration.Builder,
,CodeInterpreterNetworkConfiguration> SdkBuilder<CodeInterpreterNetworkConfiguration.Builder,
,CodeInterpreterNetworkConfiguration> SdkPojo
- Enclosing class:
CodeInterpreterNetworkConfiguration
@Mutable
@NotThreadSafe
public static interface CodeInterpreterNetworkConfiguration.Builder
extends SdkPojo, CopyableBuilder<CodeInterpreterNetworkConfiguration.Builder,CodeInterpreterNetworkConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkMode
(String networkMode) The network mode for the code interpreter.networkMode
(CodeInterpreterNetworkMode networkMode) The network mode for the code interpreter.vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) Sets the value of the VpcConfig property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
networkMode
The network mode for the code interpreter. This field specifies how the code interpreter connects to the network.
- Parameters:
networkMode
- The network mode for the code interpreter. This field specifies how the code interpreter connects to the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkMode
The network mode for the code interpreter. This field specifies how the code interpreter connects to the network.
- Parameters:
networkMode
- The network mode for the code interpreter. This field specifies how the code interpreter connects to the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 CodeInterpreterNetworkConfiguration.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:
-