Interface CreatePlacementGroupRequest.Builder

    • Method Detail

      • dryRun

        CreatePlacementGroupRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupName

        CreatePlacementGroupRequest.Builder groupName​(String groupName)

        A name for the placement group. Must be unique within the scope of your account for the Region.

        Constraints: Up to 255 ASCII characters

        Parameters:
        groupName - A name for the placement group. Must be unique within the scope of your account for the Region.

        Constraints: Up to 255 ASCII characters

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • partitionCount

        CreatePlacementGroupRequest.Builder partitionCount​(Integer partitionCount)

        The number of partitions. Valid only when Strategy is set to partition.

        Parameters:
        partitionCount - The number of partitions. Valid only when Strategy is set to partition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreatePlacementGroupRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to apply to the new placement group.

        Parameters:
        tagSpecifications - The tags to apply to the new placement group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreatePlacementGroupRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to apply to the new placement group.

        Parameters:
        tagSpecifications - The tags to apply to the new placement group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • spreadLevel

        CreatePlacementGroupRequest.Builder spreadLevel​(String spreadLevel)

        Determines how placement groups spread instances.

        • Host – You can use host only with Outpost placement groups.

        • Rack – No usage restrictions.

        Parameters:
        spreadLevel - Determines how placement groups spread instances.

        • Host – You can use host only with Outpost placement groups.

        • Rack – No usage restrictions.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SpreadLevel, SpreadLevel
      • spreadLevel

        CreatePlacementGroupRequest.Builder spreadLevel​(SpreadLevel spreadLevel)

        Determines how placement groups spread instances.

        • Host – You can use host only with Outpost placement groups.

        • Rack – No usage restrictions.

        Parameters:
        spreadLevel - Determines how placement groups spread instances.

        • Host – You can use host only with Outpost placement groups.

        • Rack – No usage restrictions.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SpreadLevel, SpreadLevel