@Stability(value=Stable) public static final class CfnSchedulingPolicy.ShareAttributesProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSchedulingPolicy.ShareAttributesProperty>
CfnSchedulingPolicy.ShareAttributesProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSchedulingPolicy.ShareAttributesProperty |
build()
Builds the configured instance.
|
CfnSchedulingPolicy.ShareAttributesProperty.Builder |
shareIdentifier(String shareIdentifier)
Sets the value of
CfnSchedulingPolicy.ShareAttributesProperty.getShareIdentifier() |
CfnSchedulingPolicy.ShareAttributesProperty.Builder |
weightFactor(Number weightFactor)
Sets the value of
CfnSchedulingPolicy.ShareAttributesProperty.getWeightFactor() |
@Stability(value=Stable) public CfnSchedulingPolicy.ShareAttributesProperty.Builder shareIdentifier(String shareIdentifier)
CfnSchedulingPolicy.ShareAttributesProperty.getShareIdentifier()shareIdentifier - A fair share identifier or fair share identifier prefix.
If the string ends with an asterisk (*), this entry specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share identifiers in a fair share policy cannot overlap. For example, you can't have one that specifies a shareIdentifier of UserA* and another that specifies a shareIdentifier of UserA-1 .
There can be no more than 500 fair share identifiers active in a job queue.
The string is limited to 255 alphanumeric characters, optionally followed by an asterisk (*).
this@Stability(value=Stable) public CfnSchedulingPolicy.ShareAttributesProperty.Builder weightFactor(Number weightFactor)
CfnSchedulingPolicy.ShareAttributesProperty.getWeightFactor()weightFactor - The weight factor for the fair share identifier.
The default value is 1.0. A lower value has a higher priority for compute resources. For example, jobs that use a share identifier with a weight factor of 0.125 (1/8) get 8 times the compute resources of jobs that use a share identifier with a weight factor of 1.
The smallest supported value is 0.0001, and the largest supported value is 999.9999.
this@Stability(value=Stable) public CfnSchedulingPolicy.ShareAttributesProperty build()
build in interface software.amazon.jsii.Builder<CfnSchedulingPolicy.ShareAttributesProperty>CfnSchedulingPolicy.ShareAttributesPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.