Interface MonitoringNetworkConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoringNetworkConfig.Builder,
,MonitoringNetworkConfig> SdkBuilder<MonitoringNetworkConfig.Builder,
,MonitoringNetworkConfig> SdkPojo
- Enclosing class:
MonitoringNetworkConfig
public static interface MonitoringNetworkConfig.Builder
extends SdkPojo, CopyableBuilder<MonitoringNetworkConfig.Builder,MonitoringNetworkConfig>
-
Method Summary
Modifier and TypeMethodDescriptionenableInterContainerTrafficEncryption
(Boolean enableInterContainerTrafficEncryption) Whether to encrypt all communications between the instances used for the monitoring jobs.enableNetworkIsolation
(Boolean enableNetworkIsolation) Whether to allow inbound and outbound network calls to and from the containers used for the monitoring job.default MonitoringNetworkConfig.Builder
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, sdkFields
-
Method Details
-
enableInterContainerTrafficEncryption
MonitoringNetworkConfig.Builder enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption) Whether to encrypt all communications between the instances used for the monitoring jobs. Choose
True
to encrypt communications. Encryption provides greater security for distributed jobs, but the processing might take longer.- Parameters:
enableInterContainerTrafficEncryption
- Whether to encrypt all communications between the instances used for the monitoring jobs. ChooseTrue
to encrypt communications. Encryption provides greater security for distributed jobs, but the processing might take longer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableNetworkIsolation
Whether to allow inbound and outbound network calls to and from the containers used for the monitoring job.
- Parameters:
enableNetworkIsolation
- Whether to allow inbound and outbound network calls to and from the containers used for the monitoring job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-