Interface PlacementGroupConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PlacementGroupConfig.Builder,PlacementGroupConfig>,SdkBuilder<PlacementGroupConfig.Builder,PlacementGroupConfig>,SdkPojo
- Enclosing class:
- PlacementGroupConfig
public static interface PlacementGroupConfig.Builder extends SdkPojo, CopyableBuilder<PlacementGroupConfig.Builder,PlacementGroupConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlacementGroupConfig.BuilderinstanceRole(String instanceRole)Role of the instance in the cluster.PlacementGroupConfig.BuilderinstanceRole(InstanceRoleType instanceRole)Role of the instance in the cluster.PlacementGroupConfig.BuilderplacementStrategy(String placementStrategy)Amazon EC2 Placement Group strategy associated with instance role.PlacementGroupConfig.BuilderplacementStrategy(PlacementGroupStrategy placementStrategy)Amazon EC2 Placement Group strategy associated with instance role.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceRole
PlacementGroupConfig.Builder instanceRole(String 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:
InstanceRoleType,InstanceRoleType
-
instanceRole
PlacementGroupConfig.Builder instanceRole(InstanceRoleType 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:
InstanceRoleType,InstanceRoleType
-
placementStrategy
PlacementGroupConfig.Builder placementStrategy(String 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:
PlacementGroupStrategy,PlacementGroupStrategy
-
placementStrategy
PlacementGroupConfig.Builder placementStrategy(PlacementGroupStrategy 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:
PlacementGroupStrategy,PlacementGroupStrategy
-
-