Interface MediaAcceleratorInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaAcceleratorInfo.Builder,
,MediaAcceleratorInfo> SdkBuilder<MediaAcceleratorInfo.Builder,
,MediaAcceleratorInfo> SdkPojo
- Enclosing class:
MediaAcceleratorInfo
public static interface MediaAcceleratorInfo.Builder
extends SdkPojo, CopyableBuilder<MediaAcceleratorInfo.Builder,MediaAcceleratorInfo>
-
Method Summary
Modifier and TypeMethodDescriptionaccelerators
(Collection<MediaDeviceInfo> accelerators) Describes the media accelerators for the instance type.accelerators
(Consumer<MediaDeviceInfo.Builder>... accelerators) Describes the media accelerators for the instance type.accelerators
(MediaDeviceInfo... accelerators) Describes the media accelerators for the instance type.totalMediaMemoryInMiB
(Integer totalMediaMemoryInMiB) The total size of the memory for the media accelerators for the instance type, in MiB.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
-
accelerators
Describes the media accelerators for the instance type.
- Parameters:
accelerators
- Describes the media accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
Describes the media accelerators for the instance type.
- Parameters:
accelerators
- Describes the media accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
Describes the media accelerators for the instance type.
This is a convenience method that creates an instance of theMediaDeviceInfo.Builder
avoiding the need to create one manually viaMediaDeviceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccelerators(List<MediaDeviceInfo>)
.- Parameters:
accelerators
- a consumer that will call methods onMediaDeviceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalMediaMemoryInMiB
The total size of the memory for the media accelerators for the instance type, in MiB.
- Parameters:
totalMediaMemoryInMiB
- The total size of the memory for the media accelerators for the instance type, in MiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-