Interface ResourceWeight.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceWeight.Builder,,ResourceWeight> SdkBuilder<ResourceWeight.Builder,,ResourceWeight> SdkPojo
- Enclosing class:
ResourceWeight
@Mutable
@NotThreadSafe
public static interface ResourceWeight.Builder
extends SdkPojo, CopyableBuilder<ResourceWeight.Builder,ResourceWeight>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the resource (for example,cpuormemory).The weight assigned to the resource for scoring.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the resource (for example,
cpuormemory).- Parameters:
name- The name of the resource (for example,cpuormemory).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
The weight assigned to the resource for scoring. Must be between 1 and 100.
- Parameters:
weight- The weight assigned to the resource for scoring. Must be between 1 and 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-