Interface InstancePlacementConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstancePlacementConfig.Builder,,InstancePlacementConfig> SdkBuilder<InstancePlacementConfig.Builder,,InstancePlacementConfig> SdkPojo
- Enclosing class:
InstancePlacementConfig
-
Method Summary
Modifier and TypeMethodDescriptionenableMultipleJobs(Boolean enableMultipleJobs) If set to true, allows multiple jobs to share the same UltraServer instances.placementSpecifications(Collection<PlacementSpecification> placementSpecifications) A list of specifications for how instances should be placed on specific UltraServers.placementSpecifications(Consumer<PlacementSpecification.Builder>... placementSpecifications) A list of specifications for how instances should be placed on specific UltraServers.placementSpecifications(PlacementSpecification... placementSpecifications) A list of specifications for how instances should be placed on specific UltraServers.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
-
enableMultipleJobs
If set to true, allows multiple jobs to share the same UltraServer instances. If set to false, ensures this job's instances are placed on an UltraServer exclusively, with no other jobs sharing the same UltraServer. Default is false.
- Parameters:
enableMultipleJobs- If set to true, allows multiple jobs to share the same UltraServer instances. If set to false, ensures this job's instances are placed on an UltraServer exclusively, with no other jobs sharing the same UltraServer. Default is false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementSpecifications
InstancePlacementConfig.Builder placementSpecifications(Collection<PlacementSpecification> placementSpecifications) A list of specifications for how instances should be placed on specific UltraServers. Maximum of 10 items is supported.
- Parameters:
placementSpecifications- A list of specifications for how instances should be placed on specific UltraServers. Maximum of 10 items is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementSpecifications
InstancePlacementConfig.Builder placementSpecifications(PlacementSpecification... placementSpecifications) A list of specifications for how instances should be placed on specific UltraServers. Maximum of 10 items is supported.
- Parameters:
placementSpecifications- A list of specifications for how instances should be placed on specific UltraServers. Maximum of 10 items is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementSpecifications
InstancePlacementConfig.Builder placementSpecifications(Consumer<PlacementSpecification.Builder>... placementSpecifications) A list of specifications for how instances should be placed on specific UltraServers. Maximum of 10 items is supported.
This is a convenience method that creates an instance of thePlacementSpecification.Builderavoiding the need to create one manually viaPlacementSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplacementSpecifications(List<PlacementSpecification>).- Parameters:
placementSpecifications- a consumer that will call methods onPlacementSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-