public static final class CfnSchedulingPolicy.ShareAttributesProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSchedulingPolicy.ShareAttributesProperty
CfnSchedulingPolicy.ShareAttributesProperty
CfnSchedulingPolicy.ShareAttributesProperty.Builder, CfnSchedulingPolicy.ShareAttributesProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getShareIdentifier()
A fair share identifier or fair share identifier prefix.
|
java.lang.Number |
getWeightFactor()
The weight factor for the fair share identifier.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getShareIdentifier()
CfnSchedulingPolicy.ShareAttributesProperty
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 (*).
getShareIdentifier
in interface CfnSchedulingPolicy.ShareAttributesProperty
public final java.lang.Number getWeightFactor()
CfnSchedulingPolicy.ShareAttributesProperty
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.
getWeightFactor
in interface CfnSchedulingPolicy.ShareAttributesProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()