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 Details

    • destinationPath

      LocalVolumeResourceData.Builder destinationPath(String 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

      LocalVolumeResourceData.Builder groupOwnerSetting(GroupOwnerSetting 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 the GroupOwnerSetting.Builder avoiding the need to create one manually via GroupOwnerSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groupOwnerSetting(GroupOwnerSetting).

      Parameters:
      groupOwnerSetting - a consumer that will call methods on GroupOwnerSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourcePath

      LocalVolumeResourceData.Builder sourcePath(String 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.