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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaMediaDeviceInfo.builder().When the
Consumercompletes,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.
-