Interface ShareAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ShareAttributes.Builder,ShareAttributes>,SdkBuilder<ShareAttributes.Builder,ShareAttributes>,SdkPojo
- Enclosing class:
- ShareAttributes
public static interface ShareAttributes.Builder extends SdkPojo, CopyableBuilder<ShareAttributes.Builder,ShareAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShareAttributes.BuildershareIdentifier(String shareIdentifier)A fair share identifier or fair share identifier prefix.ShareAttributes.BuilderweightFactor(Float weightFactor)The weight factor for the fair share identifier.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
shareIdentifier
ShareAttributes.Builder shareIdentifier(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
shareIdentifierofUserA*and another that specifies ashareIdentifierofUserA-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 (*).
- Parameters:
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 ashareIdentifierofUserA*and another that specifies ashareIdentifierofUserA-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 (*).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightFactor
ShareAttributes.Builder weightFactor(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-