Interface LambdaContainerParams.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaContainerParams.Builder,,LambdaContainerParams> SdkBuilder<LambdaContainerParams.Builder,,LambdaContainerParams> SdkPojo
- Enclosing class:
LambdaContainerParams
-
Method Summary
Modifier and TypeMethodDescriptiondevices(Collection<LambdaDeviceMount> devices) The list of system devices that the container can access.devices(Consumer<LambdaDeviceMount.Builder>... devices) The list of system devices that the container can access.devices(LambdaDeviceMount... devices) The list of system devices that the container can access.memorySizeInKB(Integer memorySizeInKB) The memory size of the container, expressed in kilobytes.mountROSysfs(Boolean mountROSysfs) Whether or not the container can read information from the device's/sysfolder.volumes(Collection<LambdaVolumeMount> volumes) The list of volumes that the container can access.volumes(Consumer<LambdaVolumeMount.Builder>... volumes) The list of volumes that the container can access.volumes(LambdaVolumeMount... volumes) The list of volumes that the container can access.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
memorySizeInKB
The memory size of the container, expressed in kilobytes.
Default:
16384(16 MB)- Parameters:
memorySizeInKB- The memory size of the container, expressed in kilobytes.Default:
16384(16 MB)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountROSysfs
Whether or not the container can read information from the device's
/sysfolder.Default:
false- Parameters:
mountROSysfs- Whether or not the container can read information from the device's/sysfolder.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
The list of volumes that the container can access.
- Parameters:
volumes- The list of volumes that the container can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
The list of volumes that the container can access.
- Parameters:
volumes- The list of volumes that the container can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
The list of volumes that the container can access.
This is a convenience method that creates an instance of theLambdaVolumeMount.Builderavoiding the need to create one manually viaLambdaVolumeMount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovolumes(List<LambdaVolumeMount>).- Parameters:
volumes- a consumer that will call methods onLambdaVolumeMount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
devices
The list of system devices that the container can access.
- Parameters:
devices- The list of system devices that the container can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The list of system devices that the container can access.
- Parameters:
devices- The list of system devices that the container can access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The list of system devices that the container can access.
This is a convenience method that creates an instance of theLambdaDeviceMount.Builderavoiding the need to create one manually viaLambdaDeviceMount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevices(List<LambdaDeviceMount>).- Parameters:
devices- a consumer that will call methods onLambdaDeviceMount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-