Package com.pulumi.gcp.dataproc.outputs
Class ClusterClusterConfigWorkerConfigAccelerator
- java.lang.Object
-
- com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigWorkerConfigAccelerator
-
public final class ClusterClusterConfigWorkerConfigAccelerator extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterClusterConfigWorkerConfigAccelerator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
acceleratorCount()
java.lang.String
acceleratorType()
static ClusterClusterConfigWorkerConfigAccelerator.Builder
builder()
static ClusterClusterConfigWorkerConfigAccelerator.Builder
builder(ClusterClusterConfigWorkerConfigAccelerator defaults)
-
-
-
Method Detail
-
acceleratorCount
public java.lang.Integer acceleratorCount()
- Returns:
- The number of the accelerator cards of this type exposed to this instance. Often restricted to one of `1`, `2`, `4`, or `8`. > The Cloud Dataproc API can return unintuitive error messages when using accelerators; even when you have defined an accelerator, Auto Zone Placement does not exclusively select zones that have that accelerator available. If you get a 400 error that the accelerator can't be found, this is a likely cause. Make sure you check [accelerator availability by zone](https://cloud.google.com/compute/docs/reference/rest/v1/acceleratorTypes/list) if you are trying to use accelerators in a given zone. ***
-
acceleratorType
public java.lang.String acceleratorType()
- Returns:
- The short name of the accelerator type to expose to this instance. For example, `nvidia-tesla-k80`.
-
builder
public static ClusterClusterConfigWorkerConfigAccelerator.Builder builder()
-
builder
public static ClusterClusterConfigWorkerConfigAccelerator.Builder builder(ClusterClusterConfigWorkerConfigAccelerator defaults)
-
-