@Generated(value="software.amazon.awssdk:codegen") public final class ShareAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShareAttributes.Builder,ShareAttributes>
Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that aren't
included have a default weight of 1.0.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ShareAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ShareAttributes.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ShareAttributes.Builder> |
serializableBuilderClass() |
String |
shareIdentifier()
A fair share identifier or fair share identifier prefix.
|
ShareAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Float |
weightFactor()
The weight factor for the fair share identifier.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String 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 can't 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, and can be followed by an asterisk (*).
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, and can be followed by an asterisk (*).
public final Float 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.
The smallest supported value is 0.0001, and the largest supported value is 999.9999.
public ShareAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ShareAttributes.Builder,ShareAttributes>public static ShareAttributes.Builder builder()
public static Class<? extends ShareAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.