Interface LocalVolumeResourceData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LocalVolumeResourceData.Builder,
,LocalVolumeResourceData> SdkBuilder<LocalVolumeResourceData.Builder,
,LocalVolumeResourceData> SdkPojo
- Enclosing class:
LocalVolumeResourceData
public static interface LocalVolumeResourceData.Builder
extends SdkPojo, CopyableBuilder<LocalVolumeResourceData.Builder,LocalVolumeResourceData>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationPath
(String destinationPath) The absolute local path of the resource inside the Lambda environment.default LocalVolumeResourceData.Builder
groupOwnerSetting
(Consumer<GroupOwnerSetting.Builder> groupOwnerSetting) Allows you to configure additional group privileges for the Lambda process.groupOwnerSetting
(GroupOwnerSetting groupOwnerSetting) Allows you to configure additional group privileges for the Lambda process.sourcePath
(String sourcePath) The local absolute path of the volume resource on the host.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
-
destinationPath
The absolute local path of the resource inside the Lambda environment.- Parameters:
destinationPath
- The absolute local path of the resource inside the Lambda environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupOwnerSetting
Allows you to configure additional group privileges for the Lambda process. This field is optional.- Parameters:
groupOwnerSetting
- Allows you to configure additional group privileges for the Lambda process. This field is optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupOwnerSetting
default LocalVolumeResourceData.Builder groupOwnerSetting(Consumer<GroupOwnerSetting.Builder> groupOwnerSetting) Allows you to configure additional group privileges for the Lambda process. This field is optional. This is a convenience method that creates an instance of theGroupOwnerSetting.Builder
avoiding the need to create one manually viaGroupOwnerSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupOwnerSetting(GroupOwnerSetting)
.- Parameters:
groupOwnerSetting
- a consumer that will call methods onGroupOwnerSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourcePath
The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with ''/sys''.- Parameters:
sourcePath
- The local absolute path of the volume resource on the host. The source path for a volume resource type cannot start with ''/sys''.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-