Interface FunctionDefaultExecutionConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionDefaultExecutionConfig.Builder,
,FunctionDefaultExecutionConfig> SdkBuilder<FunctionDefaultExecutionConfig.Builder,
,FunctionDefaultExecutionConfig> SdkPojo
- Enclosing class:
FunctionDefaultExecutionConfig
public static interface FunctionDefaultExecutionConfig.Builder
extends SdkPojo, CopyableBuilder<FunctionDefaultExecutionConfig.Builder,FunctionDefaultExecutionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionisolationMode
(String isolationMode) Sets the value of the IsolationMode property for this object.isolationMode
(FunctionIsolationMode isolationMode) Sets the value of the IsolationMode property for this object.runAs
(Consumer<FunctionRunAsConfig.Builder> runAs) Sets the value of the RunAs property for this object.runAs
(FunctionRunAsConfig runAs) Sets the value of the RunAs 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
-
isolationMode
Sets the value of the IsolationMode property for this object.- Parameters:
isolationMode
- The new value for the IsolationMode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isolationMode
Sets the value of the IsolationMode property for this object.- Parameters:
isolationMode
- The new value for the IsolationMode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runAs
Sets the value of the RunAs property for this object.- Parameters:
runAs
- The new value for the RunAs property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runAs
Sets the value of the RunAs property for this object. This is a convenience method that creates an instance of theFunctionRunAsConfig.Builder
avoiding the need to create one manually viaFunctionRunAsConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torunAs(FunctionRunAsConfig)
.- Parameters:
runAs
- a consumer that will call methods onFunctionRunAsConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-