JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class PlacementGroupConfig

    • Constructor Detail

      • PlacementGroupConfig

        public PlacementGroupConfig()
    • Method Detail

      • setInstanceRole

        public void setInstanceRole(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.

        See Also:
        InstanceRoleType
      • getInstanceRole

        public String getInstanceRole()

        Role of the instance in the cluster.

        Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

        Returns:
        Role of the instance in the cluster.

        Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

        See Also:
        InstanceRoleType
      • withInstanceRole

        public PlacementGroupConfig withInstanceRole(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
      • withInstanceRole

        public PlacementGroupConfig withInstanceRole(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
      • setPlacementStrategy

        public void setPlacementStrategy(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 SPREAD for the MASTER instance 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 SPREAD for the MASTER instance role.

        See Also:
        PlacementGroupStrategy
      • getPlacementStrategy

        public String getPlacementStrategy()

        Amazon EC2 Placement Group strategy associated with instance role.

        Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

        Returns:
        Amazon EC2 Placement Group strategy associated with instance role.

        Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

        See Also:
        PlacementGroupStrategy
      • withPlacementStrategy

        public PlacementGroupConfig withPlacementStrategy(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 SPREAD for the MASTER instance 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 SPREAD for the MASTER instance role.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementGroupStrategy
      • withPlacementStrategy

        public PlacementGroupConfig withPlacementStrategy(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 SPREAD for the MASTER instance 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 SPREAD for the MASTER instance role.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementGroupStrategy
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /