Interface MediaAcceleratorInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MediaAcceleratorInfo.Builder,MediaAcceleratorInfo>,SdkBuilder<MediaAcceleratorInfo.Builder,MediaAcceleratorInfo>,SdkPojo
- Enclosing class:
- MediaAcceleratorInfo
@Mutable @NotThreadSafe public static interface MediaAcceleratorInfo.Builder extends SdkPojo, CopyableBuilder<MediaAcceleratorInfo.Builder,MediaAcceleratorInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaAcceleratorInfo.Builderaccelerators(Collection<MediaDeviceInfo> accelerators)Describes the media accelerators for the instance type.MediaAcceleratorInfo.Builderaccelerators(Consumer<MediaDeviceInfo.Builder>... accelerators)Describes the media accelerators for the instance type.MediaAcceleratorInfo.Builderaccelerators(MediaDeviceInfo... accelerators)Describes the media accelerators for the instance type.MediaAcceleratorInfo.BuildertotalMediaMemoryInMiB(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accelerators
MediaAcceleratorInfo.Builder accelerators(Collection<MediaDeviceInfo> 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
MediaAcceleratorInfo.Builder accelerators(MediaDeviceInfo... 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
MediaAcceleratorInfo.Builder accelerators(Consumer<MediaDeviceInfo.Builder>... 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 to#accelerators(List.) - 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:
#accelerators(java.util.Collection)
-
totalMediaMemoryInMiB
MediaAcceleratorInfo.Builder totalMediaMemoryInMiB(Integer 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.
-
-