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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaAcceleratorInfo.Builder
accelerators(Collection<MediaDeviceInfo> accelerators)
Describes the media accelerators for the instance type.MediaAcceleratorInfo.Builder
accelerators(Consumer<MediaDeviceInfo.Builder>... accelerators)
Describes the media accelerators for the instance type.MediaAcceleratorInfo.Builder
accelerators(MediaDeviceInfo... accelerators)
Describes the media accelerators for the instance type.MediaAcceleratorInfo.Builder
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 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.Builder
avoiding the need to create one manually viaMediaDeviceInfo.builder()
.When the
Consumer
completes,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.
-
-