Interface PlacementGroupConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PlacementGroupConfig.Builder,,PlacementGroupConfig> SdkBuilder<PlacementGroupConfig.Builder,,PlacementGroupConfig> SdkPojo
- Enclosing class:
PlacementGroupConfig
-
Method Summary
Modifier and TypeMethodDescriptioninstanceRole(String instanceRole) Role of the instance in the cluster.instanceRole(InstanceRoleType instanceRole) Role of the instance in the cluster.placementStrategy(String placementStrategy) Amazon EC2 Placement Group strategy associated with instance role.placementStrategy(PlacementGroupStrategy placementStrategy) Amazon EC2 Placement Group strategy associated with instance role.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, sdkFields
-
Method Details
-
instanceRole
Role of the instance in the cluster.
Starting with Amazon EMR release 5.23.0, the only supported instance role is
MASTER.- Parameters:
instanceRole- Role of the instance in the cluster.Starting with Amazon EMR release 5.23.0, the only supported instance role is
MASTER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceRole
Role of the instance in the cluster.
Starting with Amazon EMR release 5.23.0, the only supported instance role is
MASTER.- Parameters:
instanceRole- Role of the instance in the cluster.Starting with Amazon EMR release 5.23.0, the only supported instance role is
MASTER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
placementStrategy
Amazon EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is
SPREADfor theMASTERinstance role.- Parameters:
placementStrategy- Amazon EC2 Placement Group strategy associated with instance role.Starting with Amazon EMR release 5.23.0, the only supported placement strategy is
SPREADfor theMASTERinstance role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
placementStrategy
Amazon EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is
SPREADfor theMASTERinstance role.- Parameters:
placementStrategy- Amazon EC2 Placement Group strategy associated with instance role.Starting with Amazon EMR release 5.23.0, the only supported placement strategy is
SPREADfor theMASTERinstance role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-