Interface LambdaContainerParams.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaContainerParams.Builder,LambdaContainerParams>,SdkBuilder<LambdaContainerParams.Builder,LambdaContainerParams>,SdkPojo
- Enclosing class:
- LambdaContainerParams
public static interface LambdaContainerParams.Builder extends SdkPojo, CopyableBuilder<LambdaContainerParams.Builder,LambdaContainerParams>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LambdaContainerParams.Builderdevices(Collection<LambdaDeviceMount> devices)The list of system devices that the container can access.LambdaContainerParams.Builderdevices(Consumer<LambdaDeviceMount.Builder>... devices)The list of system devices that the container can access.LambdaContainerParams.Builderdevices(LambdaDeviceMount... devices)The list of system devices that the container can access.LambdaContainerParams.BuildermemorySizeInKB(Integer memorySizeInKB)The memory size of the container, expressed in kilobytes.LambdaContainerParams.BuildermountROSysfs(Boolean mountROSysfs)Whether or not the container can read information from the device's/sysfolder.LambdaContainerParams.Buildervolumes(Collection<LambdaVolumeMount> volumes)The list of volumes that the container can access.LambdaContainerParams.Buildervolumes(Consumer<LambdaVolumeMount.Builder>... volumes)The list of volumes that the container can access.LambdaContainerParams.Buildervolumes(LambdaVolumeMount... volumes)The list of volumes that the container can access.-
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
-
memorySizeInKB
LambdaContainerParams.Builder memorySizeInKB(Integer 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
LambdaContainerParams.Builder mountROSysfs(Boolean 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
LambdaContainerParams.Builder volumes(Collection<LambdaVolumeMount> 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
LambdaContainerParams.Builder volumes(LambdaVolumeMount... 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
LambdaContainerParams.Builder volumes(Consumer<LambdaVolumeMount.Builder>... 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 to#volumes(List.) - 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:
#volumes(java.util.Collection)
-
devices
LambdaContainerParams.Builder devices(Collection<LambdaDeviceMount> 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
LambdaContainerParams.Builder devices(LambdaDeviceMount... 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
LambdaContainerParams.Builder devices(Consumer<LambdaDeviceMount.Builder>... 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 to#devices(List.) - 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:
#devices(java.util.Collection)
-
-