public final class GpuResource extends Object
| Constructor and Description |
|---|
GpuResource() |
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Get the count property: The count of the GPU resource.
|
GpuSku |
sku()
Get the sku property: The SKU of the GPU resource.
|
void |
validate()
Validates the instance.
|
GpuResource |
withCount(int count)
Set the count property: The count of the GPU resource.
|
GpuResource |
withSku(GpuSku sku)
Set the sku property: The SKU of the GPU resource.
|
public int count()
public GpuResource withCount(int count)
count - the count value to set.public GpuSku sku()
public GpuResource withSku(GpuSku sku)
sku - the sku value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.